Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.5 MB / 230.7 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 80.38 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 44.14 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.946e-05, allocations: 4 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5442, allocations: 109.2 MB / 0.6014 GB, free: 3.102 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5445, allocations: 79.8 kB / 0.6015 GB, free: 3.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6158/1.16, allocations: 137.9 MB / 0.7361 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.657e-06/1.16, allocations: 0 / 0.7361 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003804/1.161, allocations: 138.5 kB / 0.7363 GB, free: 106.3 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: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.02034/1.181, allocations: 6.43 MB / 0.7426 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.181, allocations: 14.42 kB / 0.7426 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/1.198, allocations: 3.551 MB / 0.746 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0194/1.218, allocations: 7.076 MB / 0.7529 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005535/1.218, allocations: 251.7 kB / 0.7532 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004363/1.223, allocations: 446 kB / 0.7536 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02231/1.245, allocations: 10.75 MB / 0.7641 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03554/1.28, allocations: 15.81 MB / 0.7796 GB, free: 91.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005881/1.281, allocations: 103.4 kB / 0.7797 GB, free: 91.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003946/1.285, allocations: 47.31 kB / 0.7797 GB, free: 91.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003621/1.289, allocations: 1.828 MB / 0.7815 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08794/1.377, allocations: 75.24 MB / 0.855 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/1.381, allocations: 3.145 MB / 0.858 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/1.383, allocations: 1.725 MB / 0.8597 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/1.384, allocations: 1.767 MB / 0.8614 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0023/1.386, allocations: 1.865 MB / 0.8633 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=267): time 5.18e-06/1.386, allocations: 0 / 0.8633 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of matching and sorting (n=295): time 0.03785/1.424, allocations: 15.46 MB / 0.8784 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/1.424, allocations: 166.5 kB / 0.8785 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008798/1.433, allocations: 4.261 MB / 0.8827 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007701/1.434, allocations: 29.7 kB / 0.8827 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005727/1.44, allocations: 5.112 MB / 0.8877 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/1.442, allocations: 1.103 MB / 0.8888 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009755/1.443, allocations: 0 / 0.8888 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006739/1.443, allocations: 0.7029 MB / 0.8895 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004323/1.448, allocations: 2.315 MB / 0.8917 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008635/1.456, allocations: 7.964 MB / 0.8995 GB, free: 124 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3884/1.845, allocations: 4.235 MB / 0.9036 GB, free: 118 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002031/1.845, allocations: 58.16 kB / 0.9037 GB, free: 118 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02302/1.868, allocations: 9.039 MB / 0.9125 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002107/1.868, allocations: 126.3 kB / 0.9126 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003712/1.869, allocations: 203 kB / 0.9128 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000514/1.869, allocations: 297.5 kB / 0.9131 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009897/1.879, allocations: 2.297 MB / 0.9154 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000523/1.88, allocations: 398.5 kB / 0.9157 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008908/1.889, allocations: 427.3 kB / 0.9161 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002791/1.891, allocations: 0.5541 MB / 0.9167 GB, free: 117.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * Number of states: 0 () * Number of discrete variables: 83 ($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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1206): * Single equations (assignments): 1202 * 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.002446/1.894, allocations: 0.631 MB / 0.9173 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005063/1.899, allocations: 2.838 MB / 0.9201 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/1.9, allocations: 477.5 kB / 0.9205 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005074/1.905, allocations: 2.537 MB / 0.923 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.492e-05/1.905, allocations: 29.72 kB / 0.923 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/1.905, allocations: 2.75 kB / 0.923 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/1.905, allocations: 11.34 kB / 0.9231 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02169/1.927, allocations: 10.8 MB / 0.9336 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-05/1.927, allocations: 33.03 kB / 0.9336 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/1.929, allocations: 0.5381 MB / 0.9342 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.041e-05/1.929, allocations: 46.84 kB / 0.9342 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/1.929, allocations: 51.81 kB / 0.9343 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.445e-05/1.929, allocations: 62.56 kB / 0.9343 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.74e-05/1.929, allocations: 49.81 kB / 0.9344 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007226/1.937, allocations: 9.324 MB / 0.9435 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.938, allocations: 0.5175 MB / 0.944 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005516/1.939, allocations: 50.38 kB / 0.944 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/1.941, allocations: 164.5 kB / 0.9442 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/1.941, allocations: 274.3 kB / 0.9444 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/1.941, allocations: 121.5 kB / 0.9446 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005025/1.946, allocations: 2.774 MB / 0.9473 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/1.946, allocations: 0 / 0.9473 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01008/1.956, allocations: 1.254 MB / 0.9485 GB, free: 106.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 268 * 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.01062/1.967, allocations: 16.67 MB / 0.9648 GB, free: 91.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.978, allocations: 5.365 MB / 0.97 GB, free: 89.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.031e-05/1.978, allocations: 3.781 kB / 0.97 GB, free: 89.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002886/1.981, allocations: 1.497 MB / 0.9715 GB, free: 89.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004722/1.985, allocations: 0.5651 MB / 0.972 GB, free: 88.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04545/2.031, allocations: 13.81 MB / 0.9855 GB, free: 83.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01248/2.043, allocations: 5.012 MB / 0.9904 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009541/2.053, allocations: 2.649 MB / 0.993 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006482/2.059, allocations: 3.238 MB / 0.9962 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of SimCode: time 1.813e-06/2.059, allocations: 0 / 0.9962 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2055/2.265, allocations: 98.18 MB / 1.092 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/2.265, allocations: 130.5 kB / 1.092 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.805/8.07, allocations: 4 kB / 1.092 GB, free: 8.891 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper2_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat