Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001971/0.001971, allocations: 182.1 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001144, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2262/0.2262, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1177, allocations: 58.87 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4054/0.5231, allocations: 109 MB / 0.5853 GB, free: 6.848 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5235, allocations: 79.97 kB / 0.5854 GB, free: 6.809 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6835/1.207, allocations: 146.6 MB / 0.7286 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.445e-06/1.207, allocations: 0 / 0.7286 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006184/1.208, allocations: 145 kB / 0.7287 GB, free: 98.85 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.02474/1.232, allocations: 7.085 MB / 0.7356 GB, free: 95.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.233, allocations: 15.58 kB / 0.7357 GB, free: 95.87 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006405/1.239, allocations: 1.378 MB / 0.737 GB, free: 95.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01811/1.257, allocations: 3.622 MB / 0.7405 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/1.278, allocations: 7.714 MB / 0.7481 GB, free: 94.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007856/1.279, allocations: 0.6035 MB / 0.7487 GB, free: 94.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004006/1.283, allocations: 0.7835 MB / 0.7494 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05633/1.339, allocations: 21.84 MB / 0.7708 GB, free: 90.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005934/1.34, allocations: 90.73 kB / 0.7708 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004017/1.344, allocations: 389.6 kB / 0.7712 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003665/1.348, allocations: 1.94 MB / 0.7731 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0402/1.388, allocations: 17.72 MB / 0.7904 GB, free: 87.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1092/1.497, allocations: 79.66 MB / 0.8682 GB, free: 18.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/1.514, allocations: 6.639 MB / 0.8747 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01978/1.534, allocations: 9.923 MB / 0.8844 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0139/1.548, allocations: 4.399 MB / 0.8887 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=303): time 8.947e-06/1.548, allocations: 0 / 0.8887 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=337): time 0.318/1.866, allocations: 22.61 MB / 0.9108 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/1.866, allocations: 166.9 kB / 0.9109 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01394/1.88, allocations: 5.443 MB / 0.9162 GB, free: 103 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009441/1.881, allocations: 76.95 kB / 0.9163 GB, free: 103 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006524/1.887, allocations: 5.294 MB / 0.9215 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00261/1.89, allocations: 1.284 MB / 0.9227 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009929/1.891, allocations: 196.3 kB / 0.9229 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000606/1.892, allocations: 0.7204 MB / 0.9236 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006413/1.898, allocations: 2.895 MB / 0.9265 GB, free: 99.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0107/1.909, allocations: 8.634 MB / 0.9349 GB, free: 92.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008558/1.917, allocations: 4.877 MB / 0.9396 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002359/1.918, allocations: 69.75 kB / 0.9397 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1282) (initialization): time 0.02205/1.94, allocations: 11.34 MB / 0.9508 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/1.94, allocations: 117.9 kB / 0.9509 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002843/1.94, allocations: 203.5 kB / 0.9511 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/1.941, allocations: 302.4 kB / 0.9514 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008139/1.949, allocations: 2.401 MB / 0.9537 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003468/1.949, allocations: 405 kB / 0.9541 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/1.959, allocations: 0.6134 MB / 0.9547 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002111/1.961, allocations: 0.5707 MB / 0.9553 GB, free: 90.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 77 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1257): * Single equations (assignments): 1253 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007912/1.969, allocations: 3.398 MB / 0.9586 GB, free: 90.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001313/1.971, allocations: 0.547 MB / 0.9591 GB, free: 89.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00646/1.977, allocations: 3.482 MB / 0.9625 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.977, allocations: 34.98 kB / 0.9626 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.977, allocations: 3.906 kB / 0.9626 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/1.977, allocations: 22.77 kB / 0.9626 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02473/2.002, allocations: 13.87 MB / 0.9761 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.165e-05/2.002, allocations: 33.28 kB / 0.9762 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/2.004, allocations: 0.6215 MB / 0.9768 GB, free: 83.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.993e-05/2.004, allocations: 50.97 kB / 0.9768 GB, free: 83.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/2.005, allocations: 107.8 kB / 0.9769 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.621e-05/2.005, allocations: 68.27 kB / 0.977 GB, free: 83.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.012e-05/2.005, allocations: 59.11 kB / 0.977 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009283/2.014, allocations: 12.44 MB / 0.9892 GB, free: 72.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003644/2.018, allocations: 0.8614 MB / 0.99 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001391/2.019, allocations: 104.8 kB / 0.9901 GB, free: 71.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003239/2.022, allocations: 230.4 kB / 0.9903 GB, free: 71.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003756/2.023, allocations: 306.3 kB / 0.9906 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/2.023, allocations: 134.8 kB / 0.9908 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006501/2.029, allocations: 3.813 MB / 0.9945 GB, free: 70.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/2.029, allocations: 0 / 0.9945 GB, free: 70.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009549/2.039, allocations: 1.59 MB / 0.996 GB, free: 70.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 152 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 313 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01068/2.05, allocations: 19.13 MB / 1.015 GB, free: 53.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01174/2.062, allocations: 6.602 MB / 1.021 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-05/2.062, allocations: 3.688 kB / 1.021 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003542/2.065, allocations: 1.893 MB / 1.023 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00513/2.07, allocations: 0.726 MB / 1.024 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3335/2.404, allocations: 176.4 MB / 1.196 GB, free: 28.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01322/2.417, allocations: 5.289 MB / 1.201 GB, free: 27.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01069/2.428, allocations: 2.786 MB / 1.204 GB, free: 27.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008107/2.436, allocations: 3.462 MB / 1.207 GB, free: 27.42 MB / 0.5417 GB Notification: Performance of SimCode: time 1.914e-06/2.436, allocations: 2.688 kB / 1.207 GB, free: 27.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4963/2.932, allocations: 113.2 MB / 1.318 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/2.933, allocations: 164 kB / 1.318 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/9.812, allocations: 1.031 kB / 1.318 GB, free: 110.9 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat