Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001502, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00187/0.00187, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 73.91 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.132, allocations: 62.44 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3032/0.4352, allocations: 75.04 MB / 0.5416 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0412/0.4764, allocations: 14.42 MB / 0.5557 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02322/0.4997, allocations: 320.3 kB / 0.556 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.5106, allocations: 4.974 MB / 0.5609 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008829/0.5195, allocations: 2.295 MB / 0.5631 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.523, allocations: 1.101 MB / 0.5642 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01192/0.535, allocations: 6.688 MB / 0.5707 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.5467, allocations: 6.694 MB / 0.5773 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005545/0.5523, allocations: 2.625 MB / 0.5798 GB, free: 484 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006696/0.559, allocations: 4.031 MB / 0.5838 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002379/0.5615, allocations: 0.5703 MB / 0.5843 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/0.5654, allocations: 1.288 MB / 0.5856 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004795/0.5702, allocations: 3.254 MB / 0.5888 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008247/0.5785, allocations: 3.705 MB / 0.5924 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.594, allocations: 10.79 MB / 0.6029 GB, free: 8.754 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5941, allocations: 0 / 0.6029 GB, free: 8.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5941, allocations: 3.844 kB / 0.6029 GB, free: 8.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004618/0.5945, allocations: 0 / 0.6029 GB, free: 8.754 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.02293/0.6175, allocations: 7.61 MB / 0.6103 GB, free: 1.066 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.6176, allocations: 8.031 kB / 0.6104 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004417/0.622, allocations: 1.194 MB / 0.6115 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/0.6346, allocations: 2.62 MB / 0.6141 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009408/0.644, allocations: 4.185 MB / 0.6182 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004962/0.6446, allocations: 431.3 kB / 0.6186 GB, free: 8.551 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002523/0.6471, allocations: 0.5581 MB / 0.6191 GB, free: 7.992 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04477/0.6919, allocations: 19.73 MB / 0.6384 GB, free: 3.125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/0.6923, allocations: 75.33 kB / 0.6385 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002088/0.6944, allocations: 275.8 kB / 0.6387 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00531/0.6997, allocations: 3.146 MB / 0.6418 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03756/0.7373, allocations: 15.87 MB / 0.6573 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3411/1.078, allocations: 64 MB / 0.7198 GB, free: 183.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/1.098, allocations: 6.33 MB / 0.726 GB, free: 182.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004377/1.102, allocations: 2.051 MB / 0.728 GB, free: 182.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01831/1.121, allocations: 9.173 MB / 0.7369 GB, free: 179.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/1.121, allocations: 65.84 kB / 0.737 GB, free: 179.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=257): time 5.67e-06/1.121, allocations: 3.844 kB / 0.737 GB, free: 179.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=291): time 0.06104/1.182, allocations: 21.38 MB / 0.7579 GB, free: 172 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/1.182, allocations: 165.7 kB / 0.758 GB, free: 171.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008866/1.191, allocations: 5.767 MB / 0.7637 GB, free: 168.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004605/1.191, allocations: 69.39 kB / 0.7637 GB, free: 168.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002535/1.194, allocations: 4.832 MB / 0.7685 GB, free: 164.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.195, allocations: 1.117 MB / 0.7695 GB, free: 163.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002976/1.198, allocations: 1.806 MB / 0.7713 GB, free: 162.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.556e-05/1.198, allocations: 301.1 kB / 0.7716 GB, free: 162.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/1.202, allocations: 2.612 MB / 0.7742 GB, free: 160.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005501/1.207, allocations: 8.165 MB / 0.7821 GB, free: 149.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009414/1.217, allocations: 11.72 MB / 0.7936 GB, free: 135.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/1.217, allocations: 60 kB / 0.7936 GB, free: 135.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01786/1.235, allocations: 10.47 MB / 0.8039 GB, free: 124.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002638/1.235, allocations: 100.4 kB / 0.8039 GB, free: 124.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003742/1.235, allocations: 196 kB / 0.8041 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/1.236, allocations: 260 kB / 0.8044 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007074/1.243, allocations: 2.187 MB / 0.8065 GB, free: 122.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002856/1.243, allocations: 386.5 kB / 0.8069 GB, free: 121.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006289/1.249, allocations: 463.3 kB / 0.8073 GB, free: 121.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.251, allocations: 0.539 MB / 0.8079 GB, free: 120.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1168 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005257/1.256, allocations: 3.14 MB / 0.8109 GB, free: 117.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.257, allocations: 0.5129 MB / 0.8114 GB, free: 117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005239/1.262, allocations: 2.995 MB / 0.8143 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/1.262, allocations: 32 kB / 0.8144 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.262, allocations: 3.938 kB / 0.8144 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.361e-05/1.262, allocations: 11.95 kB / 0.8144 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.284, allocations: 12.29 MB / 0.8264 GB, free: 101.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.513e-05/1.284, allocations: 32 kB / 0.8264 GB, free: 101.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/1.286, allocations: 0.5468 MB / 0.827 GB, free: 100.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-05/1.286, allocations: 46 kB / 0.827 GB, free: 100.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002535/1.286, allocations: 95.98 kB / 0.8271 GB, free: 100.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.695e-05/1.286, allocations: 63.78 kB / 0.8272 GB, free: 100.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-05/1.286, allocations: 51.75 kB / 0.8272 GB, free: 100.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006525/1.293, allocations: 5.602 MB / 0.8327 GB, free: 94.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/1.295, allocations: 0.5762 MB / 0.8332 GB, free: 93.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001535/1.296, allocations: 91.97 kB / 0.8333 GB, free: 93.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/1.299, allocations: 139.7 kB / 0.8335 GB, free: 93.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/1.3, allocations: 275.9 kB / 0.8337 GB, free: 93.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.3, allocations: 120 kB / 0.8338 GB, free: 93.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006353/1.306, allocations: 3.59 MB / 0.8373 GB, free: 89.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.92e-07/1.306, allocations: 0 / 0.8373 GB, free: 89.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007874/1.314, allocations: 1.397 MB / 0.8387 GB, free: 88.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007434/1.321, allocations: 6.339 MB / 0.8449 GB, free: 81.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009841/1.331, allocations: 6.537 MB / 0.8513 GB, free: 74.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-05/1.331, allocations: 12 kB / 0.8513 GB, free: 74.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/1.333, allocations: 1.368 MB / 0.8526 GB, free: 73.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005528/1.339, allocations: 0.7593 MB / 0.8534 GB, free: 72.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3559/1.695, allocations: 84.21 MB / 0.9356 GB, free: 194.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007759/1.702, allocations: 4.755 MB / 0.9402 GB, free: 193.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007033/1.71, allocations: 2.577 MB / 0.9428 GB, free: 193.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004162/1.714, allocations: 3.194 MB / 0.9459 GB, free: 191.6 MB / 0.5606 GB Notification: Performance of SimCode: time 2.214e-06/1.714, allocations: 4.562 kB / 0.9459 GB, free: 191.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/1.842, allocations: 98.14 MB / 1.042 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/1.842, allocations: 192.4 kB / 1.042 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.967/6.809, allocations: 0 / 1.042 GB, free: 110.8 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat