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.001181/0.001181, allocations: 103.3 kB / 17.2 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 205.8 kB / 18.13 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 76.53 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1325, allocations: 62.44 MB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3456/0.4781, allocations: 75.04 MB / 0.5414 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04494/0.5231, allocations: 14.52 MB / 0.5556 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02136/0.5445, allocations: 322.5 kB / 0.5559 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.5555, allocations: 5.16 MB / 0.561 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008356/0.5639, allocations: 2.329 MB / 0.5632 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003293/0.5672, allocations: 1.088 MB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01365/0.5809, allocations: 9.619 MB / 0.5737 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0108/0.5917, allocations: 6.352 MB / 0.5799 GB, free: 356 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005498/0.5973, allocations: 2.325 MB / 0.5822 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00716/0.6045, allocations: 3.914 MB / 0.586 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002505/0.607, allocations: 452 kB / 0.5864 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004388/0.6114, allocations: 1.198 MB / 0.5876 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004948/0.6164, allocations: 3.121 MB / 0.5906 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008433/0.6249, allocations: 3.557 MB / 0.5941 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.6399, allocations: 10.61 MB / 0.6045 GB, free: 7.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6399, allocations: 4 kB / 0.6045 GB, free: 7.094 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6399, allocations: 0 / 0.6045 GB, free: 7.094 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004748/0.6404, allocations: 0 / 0.6045 GB, free: 7.094 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.02128/0.6617, allocations: 7.61 MB / 0.6119 GB, free: 15.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.6617, allocations: 8.875 kB / 0.6119 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003974/0.6657, allocations: 1.186 MB / 0.6131 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.6777, allocations: 2.616 MB / 0.6156 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.6882, allocations: 4.193 MB / 0.6197 GB, free: 7.312 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005283/0.6887, allocations: 431.3 kB / 0.6201 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002351/0.6911, allocations: 0.5542 MB / 0.6207 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04529/0.7364, allocations: 19.75 MB / 0.6399 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004022/0.7369, allocations: 71.34 kB / 0.64 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00223/0.7391, allocations: 263.8 kB / 0.6403 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005354/0.7445, allocations: 3.157 MB / 0.6434 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03904/0.7835, allocations: 15.86 MB / 0.6588 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5661/1.35, allocations: 64.01 MB / 0.7213 GB, free: 181.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01808/1.368, allocations: 6.329 MB / 0.7275 GB, free: 180.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003373/1.371, allocations: 2.044 MB / 0.7295 GB, free: 180.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01484/1.386, allocations: 9.17 MB / 0.7385 GB, free: 178 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/1.386, allocations: 67.78 kB / 0.7385 GB, free: 178 MB / 0.545 GB Notification: Performance of pre-optimization done (n=257): time 6.342e-06/1.386, allocations: 2.531 kB / 0.7385 GB, free: 178 MB / 0.545 GB Notification: Performance of matching and sorting (n=291): time 0.08242/1.469, allocations: 21.38 MB / 0.7594 GB, free: 169.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/1.469, allocations: 170 kB / 0.7596 GB, free: 169.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/1.483, allocations: 5.768 MB / 0.7652 GB, free: 166.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006835/1.484, allocations: 68.86 kB / 0.7653 GB, free: 166.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004217/1.488, allocations: 4.829 MB / 0.77 GB, free: 162.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001699/1.49, allocations: 1.121 MB / 0.7711 GB, free: 161.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004671/1.495, allocations: 1.808 MB / 0.7729 GB, free: 159.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/1.495, allocations: 301.1 kB / 0.7732 GB, free: 159.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004506/1.499, allocations: 2.606 MB / 0.7757 GB, free: 156.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006719/1.506, allocations: 8.172 MB / 0.7837 GB, free: 146 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/1.517, allocations: 11.72 MB / 0.7951 GB, free: 131.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001841/1.517, allocations: 56 kB / 0.7952 GB, free: 131.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01795/1.535, allocations: 10.48 MB / 0.8054 GB, free: 121.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/1.535, allocations: 88.22 kB / 0.8055 GB, free: 121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003167/1.536, allocations: 200 kB / 0.8057 GB, free: 120.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002754/1.536, allocations: 264 kB / 0.8059 GB, free: 120.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006595/1.543, allocations: 2.183 MB / 0.8081 GB, free: 118.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003098/1.543, allocations: 390.5 kB / 0.8084 GB, free: 118 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006548/1.55, allocations: 455.4 kB / 0.8089 GB, free: 117.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001465/1.551, allocations: 0.5429 MB / 0.8094 GB, free: 117 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.005789/1.557, allocations: 3.144 MB / 0.8125 GB, free: 113.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.558, allocations: 0.5129 MB / 0.813 GB, free: 113.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005216/1.563, allocations: 2.988 MB / 0.8159 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.212e-05/1.563, allocations: 35.81 kB / 0.8159 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/1.563, allocations: 4 kB / 0.8159 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/1.563, allocations: 11.95 kB / 0.8159 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/1.583, allocations: 12.28 MB / 0.8279 GB, free: 97.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.969e-05/1.583, allocations: 32 kB / 0.828 GB, free: 97.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/1.585, allocations: 0.5467 MB / 0.8285 GB, free: 96.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.073e-05/1.585, allocations: 44 kB / 0.8285 GB, free: 96.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001988/1.585, allocations: 95.48 kB / 0.8286 GB, free: 96.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.343e-05/1.585, allocations: 67.72 kB / 0.8287 GB, free: 96.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-05/1.585, allocations: 47.81 kB / 0.8287 GB, free: 96.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005669/1.591, allocations: 5.609 MB / 0.8342 GB, free: 90.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.592, allocations: 0.5762 MB / 0.8348 GB, free: 89.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009672/1.593, allocations: 95.72 kB / 0.8349 GB, free: 89.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/1.596, allocations: 135.9 kB / 0.835 GB, free: 89.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/1.596, allocations: 279.9 kB / 0.8353 GB, free: 89.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/1.596, allocations: 112 kB / 0.8354 GB, free: 89.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005917/1.602, allocations: 3.594 MB / 0.8389 GB, free: 85.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.92e-07/1.602, allocations: 0 / 0.8389 GB, free: 85.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008423/1.61, allocations: 1.404 MB / 0.8403 GB, free: 84.4 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.007855/1.618, allocations: 6.339 MB / 0.8465 GB, free: 77.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008688/1.627, allocations: 5.945 MB / 0.8523 GB, free: 71.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.357e-05/1.627, allocations: 4 kB / 0.8523 GB, free: 71.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/1.629, allocations: 1.363 MB / 0.8536 GB, free: 70.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004979/1.634, allocations: 0.7207 MB / 0.8543 GB, free: 69.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3178/1.952, allocations: 84.21 MB / 0.9365 GB, free: 191.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007989/1.96, allocations: 4.755 MB / 0.9412 GB, free: 190.2 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007108/1.967, allocations: 2.572 MB / 0.9437 GB, free: 190.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00391/1.971, allocations: 3.191 MB / 0.9468 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.012e-06/1.971, allocations: 0 / 0.9468 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/2.1, allocations: 96.43 MB / 1.041 GB, free: 105.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/2.1, allocations: 182.2 kB / 1.041 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.439/7.539, allocations: 0 / 1.041 GB, free: 104.9 MB / 0.5607 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