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.001007/0.001007, allocations: 176 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.0009194, allocations: 86.62 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1914/0.1914, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.984e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3972/0.499, allocations: 108.3 MB / 0.5718 GB, free: 3.355 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4993, allocations: 83.61 kB / 0.5719 GB, free: 3.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6462/1.146, allocations: 143.2 MB / 0.7117 GB, free: 95.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.245e-06/1.146, allocations: 1.188 kB / 0.7117 GB, free: 95.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004606/1.146, allocations: 144.9 kB / 0.7119 GB, free: 95.9 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.02562/1.172, allocations: 6.731 MB / 0.7184 GB, free: 93.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/1.172, allocations: 12.81 kB / 0.7185 GB, free: 93.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02042/1.192, allocations: 3.628 MB / 0.722 GB, free: 93.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02028/1.213, allocations: 7.678 MB / 0.7295 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005512/1.213, allocations: 263.9 kB / 0.7298 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004759/1.218, allocations: 472.8 kB / 0.7302 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02255/1.24, allocations: 11.42 MB / 0.7414 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0367/1.277, allocations: 16.62 MB / 0.7576 GB, free: 88.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003446/1.278, allocations: 94.78 kB / 0.7577 GB, free: 88.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001562/1.279, allocations: 49.75 kB / 0.7577 GB, free: 88.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/1.282, allocations: 1.951 MB / 0.7596 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08044/1.362, allocations: 77.35 MB / 0.8352 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004566/1.367, allocations: 3.468 MB / 0.8386 GB, free: 33.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002495/1.37, allocations: 1.94 MB / 0.8404 GB, free: 33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/1.371, allocations: 1.773 MB / 0.8422 GB, free: 31.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003223/1.374, allocations: 2.069 MB / 0.8442 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=306): time 5.73e-06/1.374, allocations: 0 / 0.8442 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=334): time 0.03441/1.409, allocations: 16.73 MB / 0.8605 GB, free: 17.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/1.409, allocations: 162.5 kB / 0.8607 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006819/1.415, allocations: 4.463 MB / 0.8651 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000726/1.416, allocations: 33.7 kB / 0.8651 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004249/1.421, allocations: 5.361 MB / 0.8703 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00161/1.422, allocations: 1.233 MB / 0.8715 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004336/1.423, allocations: 3.938 kB / 0.8715 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004014/1.423, allocations: 0.7296 MB / 0.8722 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/1.426, allocations: 2.526 MB / 0.8747 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007211/1.434, allocations: 8.42 MB / 0.8829 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00766/1.441, allocations: 4.551 MB / 0.8874 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002047/1.441, allocations: 60 kB / 0.8874 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1315) (initialization): time 0.3481/1.79, allocations: 9.886 MB / 0.8971 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002146/1.79, allocations: 125 kB / 0.8972 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004439/1.79, allocations: 211.3 kB / 0.8974 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/1.791, allocations: 311.4 kB / 0.8977 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/1.801, allocations: 2.457 MB / 0.9001 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006477/1.802, allocations: 419.4 kB / 0.9005 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009134/1.811, allocations: 443 kB / 0.9009 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002619/1.814, allocations: 0.5866 MB / 0.9015 GB, free: 94.08 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1290): * Single equations (assignments): 1286 * 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.002856/1.816, allocations: 0.6508 MB / 0.9021 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005615/1.822, allocations: 3.203 MB / 0.9053 GB, free: 93.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.823, allocations: 0.4923 MB / 0.9057 GB, free: 93.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005562/1.829, allocations: 2.967 MB / 0.9086 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.431e-05/1.829, allocations: 31.81 kB / 0.9087 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/1.829, allocations: 5.969 kB / 0.9087 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.303e-05/1.829, allocations: 15 kB / 0.9087 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02365/1.852, allocations: 12.06 MB / 0.9205 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/1.853, allocations: 36.55 kB / 0.9205 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/1.855, allocations: 0.6111 MB / 0.9211 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.455e-05/1.855, allocations: 54.5 kB / 0.9211 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/1.855, allocations: 58.16 kB / 0.9212 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.705e-05/1.855, allocations: 67.8 kB / 0.9213 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-05/1.855, allocations: 48.91 kB / 0.9213 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007287/1.862, allocations: 10.35 MB / 0.9314 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/1.864, allocations: 0.7874 MB / 0.9322 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/1.865, allocations: 53 kB / 0.9322 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/1.867, allocations: 169.1 kB / 0.9324 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/1.867, allocations: 307.7 kB / 0.9327 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.867, allocations: 134.9 kB / 0.9328 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005038/1.872, allocations: 2.908 MB / 0.9357 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/1.872, allocations: 0 / 0.9357 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009745/1.882, allocations: 1.34 MB / 0.937 GB, free: 84.44 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * 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 (315): * Single equations (assignments): 310 * 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.0106/1.893, allocations: 17.87 MB / 0.9544 GB, free: 70.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.905, allocations: 5.855 MB / 0.9601 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.47e-05/1.905, allocations: 3.594 kB / 0.9601 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003493/1.908, allocations: 1.708 MB / 0.9618 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004906/1.913, allocations: 0.531 MB / 0.9623 GB, free: 69.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04126/1.955, allocations: 14.82 MB / 0.9768 GB, free: 66.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007636/1.962, allocations: 5.269 MB / 0.9819 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007652/1.97, allocations: 2.826 MB / 0.9847 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005354/1.975, allocations: 3.445 MB / 0.9881 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/1.975, allocations: 0 / 0.9881 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4778/2.453, allocations: 104.3 MB / 1.09 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/2.453, allocations: 129 kB / 1.09 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.914/8.367, allocations: 0 / 1.09 GB, free: 73.16 MB / 0.5261 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