Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 97.22 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 175.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3943/0.3943, allocations: 43.54 MB / 314.5 MB, free: 8.742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005471/0.0005473, allocations: 18.97 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1444, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2977/0.4421, allocations: 74.98 MB / 0.5057 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04719/0.4894, allocations: 16.77 MB / 0.5221 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02011/0.5095, allocations: 367.9 kB / 0.5224 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01647/0.526, allocations: 3.738 MB / 0.5261 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04509/0.5712, allocations: 10.54 MB / 0.5364 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006839/0.5781, allocations: 1.066 MB / 0.5374 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.5883, allocations: 3.931 MB / 0.5412 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01472/0.6031, allocations: 8.463 MB / 0.5495 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005146/0.6083, allocations: 1.764 MB / 0.5512 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005148/0.6135, allocations: 2.559 MB / 0.5537 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002026/0.6156, allocations: 276 kB / 0.554 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.619, allocations: 0.8582 MB / 0.5548 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004236/0.6233, allocations: 2.829 MB / 0.5576 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002642/0.6259, allocations: 1.431 MB / 0.559 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.6382, allocations: 9.367 MB / 0.5681 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6382, allocations: 0 / 0.5681 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6382, allocations: 0 / 0.5681 GB, free: 15.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004848/0.6387, allocations: 0 / 0.5681 GB, free: 15.49 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01604/0.6548, allocations: 6.744 MB / 0.5747 GB, free: 8.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.6549, allocations: 16.02 kB / 0.5747 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004174/0.659, allocations: 1.292 MB / 0.576 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.6731, allocations: 3.274 MB / 0.5792 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.6846, allocations: 4.389 MB / 0.5835 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005606/0.6852, allocations: 463.5 kB / 0.5839 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002584/0.6878, allocations: 0.5856 MB / 0.5845 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05112/0.739, allocations: 21.45 MB / 0.6054 GB, free: 7.969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003043/0.7393, allocations: 75.34 kB / 0.6055 GB, free: 7.895 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/0.7409, allocations: 283.7 kB / 0.6058 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006448/0.7474, allocations: 3.545 MB / 0.6092 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04358/0.791, allocations: 17.43 MB / 0.6263 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6812/1.472, allocations: 70.41 MB / 0.695 GB, free: 30.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04048/1.513, allocations: 14.47 MB / 0.7092 GB, free: 24.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02305/1.536, allocations: 14.5 MB / 0.7233 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/1.536, allocations: 68.52 kB / 0.7234 GB, free: 15.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=300): time 6.302e-06/1.536, allocations: 0 / 0.7234 GB, free: 15.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=334): time 0.1128/1.649, allocations: 41.72 MB / 0.7641 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.649, allocations: 173 kB / 0.7643 GB, free: 9.918 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00957/1.659, allocations: 6.356 MB / 0.7705 GB, free: 5.164 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009105/1.659, allocations: 81.47 kB / 0.7706 GB, free: 5.121 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004158/1.664, allocations: 5.192 MB / 0.7757 GB, free: 0.9141 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002086/1.666, allocations: 1.269 MB / 0.7769 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004608/1.666, allocations: 197.4 kB / 0.7771 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005536/1.667, allocations: 0.7142 MB / 0.7778 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005403/1.672, allocations: 3.193 MB / 0.7809 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/1.682, allocations: 8.974 MB / 0.7897 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009862/1.692, allocations: 5.165 MB / 0.7947 GB, free: 15.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00019/1.693, allocations: 60 kB / 0.7948 GB, free: 15.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1283) (initialization): time 0.0251/1.718, allocations: 12.1 MB / 0.8066 GB, free: 4.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/1.718, allocations: 92 kB / 0.8067 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003136/1.718, allocations: 204.8 kB / 0.8069 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009964/1.719, allocations: 0.5383 MB / 0.8074 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009067/1.728, allocations: 2.4 MB / 0.8097 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/1.732, allocations: 2.717 MB / 0.8124 GB, free: 14.76 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/1.742, allocations: 0.5384 MB / 0.8129 GB, free: 14.22 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00223/1.745, allocations: 0.5749 MB / 0.8135 GB, free: 13.64 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1256): * Single equations (assignments): 1252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009168/1.754, allocations: 3.395 MB / 0.8168 GB, free: 10.44 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/1.756, allocations: 0.5476 MB / 0.8173 GB, free: 9.883 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007755/1.763, allocations: 4.342 MB / 0.8216 GB, free: 5.492 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.644e-05/1.764, allocations: 36 kB / 0.8216 GB, free: 5.457 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.764, allocations: 0 / 0.8216 GB, free: 5.457 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/1.764, allocations: 19.94 kB / 0.8216 GB, free: 5.438 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02775/1.791, allocations: 13.67 MB / 0.835 GB, free: 7.547 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.072e-05/1.791, allocations: 34.06 kB / 0.835 GB, free: 7.516 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/1.794, allocations: 0.6314 MB / 0.8356 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.271e-05/1.794, allocations: 45.75 kB / 0.8357 GB, free: 6.879 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/1.794, allocations: 104.1 kB / 0.8358 GB, free: 6.777 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-05/1.794, allocations: 63.78 kB / 0.8358 GB, free: 6.727 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.522e-05/1.794, allocations: 45.59 kB / 0.8359 GB, free: 6.695 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.329/2.123, allocations: 11.86 MB / 0.8474 GB, free: 212.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004316/2.128, allocations: 0.8893 MB / 0.8483 GB, free: 212.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/2.13, allocations: 93.72 kB / 0.8484 GB, free: 212.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003155/2.133, allocations: 174.2 kB / 0.8486 GB, free: 212.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004039/2.133, allocations: 281 kB / 0.8488 GB, free: 212.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/2.133, allocations: 127.9 kB / 0.849 GB, free: 212.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008609/2.142, allocations: 3.99 MB / 0.8529 GB, free: 211.9 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.71e-07/2.142, allocations: 0 / 0.8529 GB, free: 211.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01329/2.155, allocations: 1.618 MB / 0.8544 GB, free: 211.9 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * 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 (319): * Single equations (assignments): 316 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.016/2.171, allocations: 17.64 MB / 0.8717 GB, free: 197.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0147/2.186, allocations: 7.175 MB / 0.8787 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.048e-05/2.186, allocations: 3.531 kB / 0.8787 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003838/2.19, allocations: 1.687 MB / 0.8803 GB, free: 194.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005487/2.196, allocations: 0.7054 MB / 0.881 GB, free: 194.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1037/2.299, allocations: 177.4 MB / 1.054 GB, free: 21.65 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009082/2.308, allocations: 5.288 MB / 1.059 GB, free: 19.91 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008123/2.317, allocations: 2.81 MB / 1.062 GB, free: 19.65 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006049/2.323, allocations: 3.509 MB / 1.066 GB, free: 16.77 MB / 0.5763 GB Notification: Performance of SimCode: time 1.222e-06/2.323, allocations: 0 / 1.066 GB, free: 16.77 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4468/2.769, allocations: 116.6 MB / 1.179 GB, free: 154.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/2.77, allocations: 195.6 kB / 1.18 GB, free: 153.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.808/8.578, allocations: 4 kB / 1.18 GB, free: 153.8 MB / 0.5763 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat