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.001087/0.001087, allocations: 175.3 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009472/0.0009471, allocations: 94.23 kB / 292.1 MB, free: 10.7 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.311/0.311, allocations: 44.21 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003376, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3568, allocations: 61.91 MB / 0.5096 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.5039, allocations: 109.9 MB / 0.617 GB, free: 1.008 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5042, allocations: 83.94 kB / 0.6171 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6285/1.133, allocations: 141.1 MB / 0.7549 GB, free: 85.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.467e-06/1.133, allocations: 0 / 0.7549 GB, free: 85.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003398/1.133, allocations: 139.7 kB / 0.755 GB, free: 85.54 MB / 490.7 MB 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.02279/1.156, allocations: 6.758 MB / 0.7616 GB, free: 81.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.156, allocations: 17.95 kB / 0.7616 GB, free: 81.03 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005693/1.162, allocations: 1.309 MB / 0.7629 GB, free: 80.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/1.179, allocations: 3.545 MB / 0.7664 GB, free: 78.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02043/1.2, allocations: 7.121 MB / 0.7733 GB, free: 72.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006455/1.2, allocations: 0.5696 MB / 0.7739 GB, free: 71.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00457/1.205, allocations: 0.7535 MB / 0.7746 GB, free: 70.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05315/1.258, allocations: 20.96 MB / 0.7951 GB, free: 48.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004509/1.259, allocations: 91.16 kB / 0.7952 GB, free: 48.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003607/1.262, allocations: 371.8 kB / 0.7955 GB, free: 47.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003307/1.266, allocations: 1.819 MB / 0.7973 GB, free: 46.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04135/1.307, allocations: 16.86 MB / 0.8138 GB, free: 29.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4349/1.742, allocations: 77.15 MB / 0.8891 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0163/1.758, allocations: 6.27 MB / 0.8952 GB, free: 56.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01682/1.775, allocations: 9.247 MB / 0.9043 GB, free: 54.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01482/1.79, allocations: 4.154 MB / 0.9083 GB, free: 54.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=264): time 6.563e-06/1.79, allocations: 0 / 0.9083 GB, free: 54.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=298): time 0.06775/1.858, allocations: 21.27 MB / 0.9291 GB, free: 49.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/1.858, allocations: 165.1 kB / 0.9293 GB, free: 49.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/1.869, allocations: 5.268 MB / 0.9344 GB, free: 48.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007498/1.87, allocations: 73.92 kB / 0.9345 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004792/1.875, allocations: 5.05 MB / 0.9394 GB, free: 45.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00153/1.876, allocations: 1.155 MB / 0.9405 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006376/1.877, allocations: 181.1 kB / 0.9407 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004324/1.877, allocations: 0.6965 MB / 0.9414 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004545/1.882, allocations: 2.662 MB / 0.944 GB, free: 45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007791/1.89, allocations: 8.214 MB / 0.952 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00805/1.898, allocations: 4.567 MB / 0.9565 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002131/1.898, allocations: 58.53 kB / 0.9565 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02213/1.92, allocations: 10.65 MB / 0.9669 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003768/1.921, allocations: 121.5 kB / 0.967 GB, free: 32.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006/1.921, allocations: 199.8 kB / 0.9672 GB, free: 32.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004532/1.922, allocations: 287.5 kB / 0.9675 GB, free: 32.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008588/1.93, allocations: 2.25 MB / 0.9697 GB, free: 31.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005606/1.931, allocations: 390.8 kB / 0.9701 GB, free: 31.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008313/1.939, allocations: 0.5963 MB / 0.9707 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/1.941, allocations: 0.5406 MB / 0.9712 GB, free: 31.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1182): * Single equations (assignments): 1178 * 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.009541/1.951, allocations: 3.234 MB / 0.9743 GB, free: 30.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001652/1.952, allocations: 0.5227 MB / 0.9748 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00767/1.96, allocations: 2.991 MB / 0.9778 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-05/1.96, allocations: 29.17 kB / 0.9778 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.96, allocations: 4 kB / 0.9778 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-05/1.96, allocations: 13.08 kB / 0.9778 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02678/1.987, allocations: 12.56 MB / 0.9901 GB, free: 17.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.302e-05/1.987, allocations: 32 kB / 0.9901 GB, free: 17.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/1.989, allocations: 0.5406 MB / 0.9906 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.97e-05/1.989, allocations: 48 kB / 0.9907 GB, free: 16.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/1.989, allocations: 101.9 kB / 0.9908 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.152e-05/1.989, allocations: 63.08 kB / 0.9908 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.669e-05/1.989, allocations: 51.75 kB / 0.9909 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007971/1.997, allocations: 11.25 MB / 1.002 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/1.999, allocations: 0.6001 MB / 1.002 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000711/2, allocations: 95.5 kB / 1.003 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002517/2.003, allocations: 207.2 kB / 1.003 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004149/2.003, allocations: 288.4 kB / 1.003 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/2.003, allocations: 122.3 kB / 1.003 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008975/2.012, allocations: 3.743 MB / 1.007 GB, free: 0 / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/2.012, allocations: 336 / 1.007 GB, free: 0 / 0.5105 GB Notification: Performance of remove unused functions: time 0.0148/2.027, allocations: 1.736 MB / 1.008 GB, free: 15.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 146 * 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 (276): * Single equations (assignments): 271 * 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.01602/2.043, allocations: 17.88 MB / 1.026 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01256/2.056, allocations: 6.076 MB / 1.032 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.694e-05/2.056, allocations: 4 kB / 1.032 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003449/2.059, allocations: 1.656 MB / 1.034 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/2.064, allocations: 0.716 MB / 1.034 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3887/2.453, allocations: 169.6 MB / 1.2 GB, free: 91.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01009/2.463, allocations: 5.033 MB / 1.205 GB, free: 90.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00847/2.472, allocations: 2.626 MB / 1.207 GB, free: 90.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006437/2.478, allocations: 3.245 MB / 1.21 GB, free: 90.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.984e-06/2.478, allocations: 0 / 1.21 GB, free: 90.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1893/2.668, allocations: 107 MB / 1.315 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/2.668, allocations: 170.7 kB / 1.315 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/9.361, allocations: 0 / 1.315 GB, free: 35.16 MB / 0.6042 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