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.00106/0.00106, allocations: 96.94 kB / 16.02 MB, free: 84 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.001187/0.001187, allocations: 177.9 kB / 16.91 MB, free: 6.645 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.513/1.513, allocations: 205.4 MB / 223.1 MB, free: 5.457 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.3477/0.3477, allocations: 43.57 MB / 315 MB, free: 8.77 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.000523/0.000523, allocations: 16 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 58.85 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2647/0.3894, allocations: 85.47 MB / 0.5166 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04209/0.4315, allocations: 16.67 MB / 0.5329 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02099/0.4526, allocations: 365.1 kB / 0.5332 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.4568, allocations: 0.6863 MB / 0.5339 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.4669, allocations: 2.581 MB / 0.5364 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.47, allocations: 1.089 MB / 0.5375 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01313/0.4832, allocations: 10.25 MB / 0.5475 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01295/0.4962, allocations: 9.468 MB / 0.5568 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003847/0.5001, allocations: 2.011 MB / 0.5587 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005194/0.5053, allocations: 3.621 MB / 0.5623 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.5066, allocations: 276 kB / 0.5625 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.5094, allocations: 1.022 MB / 0.5635 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003267/0.5127, allocations: 3.112 MB / 0.5666 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004793/0.5175, allocations: 3.553 MB / 0.57 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.5316, allocations: 11.32 MB / 0.5811 GB, free: 2.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.5317, allocations: 0 / 0.5811 GB, free: 2.516 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.5317, allocations: 0 / 0.5811 GB, free: 2.516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004979/0.5322, allocations: 4 kB / 0.5811 GB, free: 2.512 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.01319/0.5454, allocations: 6.644 MB / 0.5876 GB, free: 11.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5455, allocations: 12.03 kB / 0.5876 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002612/0.5481, allocations: 1.294 MB / 0.5888 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.5593, allocations: 2.814 MB / 0.5916 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008507/0.5678, allocations: 5.143 MB / 0.5966 GB, free: 2.441 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/0.5682, allocations: 460 kB / 0.5971 GB, free: 1.992 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001679/0.5699, allocations: 0.5893 MB / 0.5976 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04134/0.6113, allocations: 21.27 MB / 0.6184 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002058/0.6115, allocations: 71.39 kB / 0.6185 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008834/0.6124, allocations: 287.7 kB / 0.6188 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005153/0.6176, allocations: 3.533 MB / 0.6222 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3682/0.9858, allocations: 17.26 MB / 0.6391 GB, free: 134 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06888/1.055, allocations: 67.88 MB / 0.7053 GB, free: 88.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01659/1.071, allocations: 6.696 MB / 0.7119 GB, free: 85.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/1.075, allocations: 2.3 MB / 0.7141 GB, free: 84.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/1.088, allocations: 9.789 MB / 0.7237 GB, free: 76.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/1.088, allocations: 64.56 kB / 0.7238 GB, free: 76.56 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 5.34e-06/1.088, allocations: 0 / 0.7238 GB, free: 76.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.04934/1.137, allocations: 22.96 MB / 0.7462 GB, free: 53.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/1.137, allocations: 158.7 kB / 0.7463 GB, free: 53.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006189/1.143, allocations: 6.067 MB / 0.7523 GB, free: 47.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002956/1.144, allocations: 81.64 kB / 0.7523 GB, free: 47.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001938/1.146, allocations: 5.199 MB / 0.7574 GB, free: 41.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007786/1.146, allocations: 1.255 MB / 0.7586 GB, free: 40.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007165/1.147, allocations: 0.8168 MB / 0.7594 GB, free: 39.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.105e-05/1.147, allocations: 301.1 kB / 0.7597 GB, free: 39.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/1.151, allocations: 2.83 MB / 0.7625 GB, free: 36.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00544/1.156, allocations: 8.643 MB / 0.7709 GB, free: 25.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.167, allocations: 12.48 MB / 0.7831 GB, free: 9.805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.743e-05/1.167, allocations: 56 kB / 0.7832 GB, free: 9.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=1279) (initialization): time 0.0156/1.182, allocations: 11.2 MB / 0.7941 GB, free: 14.5 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.182, allocations: 95.98 kB / 0.7942 GB, free: 14.41 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001961/1.183, allocations: 216.1 kB / 0.7944 GB, free: 14.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/1.183, allocations: 272 kB / 0.7947 GB, free: 13.94 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007002/1.19, allocations: 2.336 MB / 0.7969 GB, free: 11.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003113/1.19, allocations: 406.5 kB / 0.7973 GB, free: 11.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00571/1.196, allocations: 471.4 kB / 0.7978 GB, free: 10.74 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008859/1.197, allocations: 0.5742 MB / 0.7983 GB, free: 10.16 MB / 0.4982 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 (1255): * Single equations (assignments): 1252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004967/1.202, allocations: 3.404 MB / 0.8017 GB, free: 6.746 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00077/1.203, allocations: 0.5476 MB / 0.8022 GB, free: 6.191 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/1.208, allocations: 3.457 MB / 0.8056 GB, free: 2.688 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.743e-05/1.208, allocations: 36 kB / 0.8056 GB, free: 2.652 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.208, allocations: 0 / 0.8056 GB, free: 2.652 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/1.208, allocations: 15.94 kB / 0.8056 GB, free: 2.637 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/1.23, allocations: 13.82 MB / 0.8191 GB, free: 4.332 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-05/1.23, allocations: 32 kB / 0.8191 GB, free: 4.301 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.232, allocations: 0.6123 MB / 0.8197 GB, free: 3.688 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.553e-05/1.232, allocations: 48.34 kB / 0.8198 GB, free: 3.641 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/1.232, allocations: 110.4 kB / 0.8199 GB, free: 3.535 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.223e-05/1.232, allocations: 67.78 kB / 0.82 GB, free: 3.469 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.34e-05/1.232, allocations: 55.75 kB / 0.82 GB, free: 3.414 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1904/1.423, allocations: 6.305 MB / 0.8262 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002368/1.425, allocations: 0.8509 MB / 0.827 GB, free: 152.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.426, allocations: 104.3 kB / 0.8271 GB, free: 152.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003403/1.43, allocations: 152.9 kB / 0.8272 GB, free: 152.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004961/1.43, allocations: 305.5 kB / 0.8275 GB, free: 152.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002745/1.431, allocations: 136.2 kB / 0.8277 GB, free: 152.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007305/1.438, allocations: 3.767 MB / 0.8313 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.11e-07/1.438, allocations: 0 / 0.8313 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008741/1.447, allocations: 1.558 MB / 0.8329 GB, free: 151.9 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (317): * Single equations (assignments): 314 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01149/1.458, allocations: 7.061 MB / 0.8398 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.469, allocations: 6.468 MB / 0.8461 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.391e-05/1.47, allocations: 7.812 kB / 0.8461 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002516/1.472, allocations: 1.568 MB / 0.8476 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02962/1.502, allocations: 0.774 MB / 0.8484 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1025/1.604, allocations: 91.89 MB / 0.9381 GB, free: 63.53 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00577/1.61, allocations: 5.128 MB / 0.9431 GB, free: 59.62 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00622/1.616, allocations: 2.765 MB / 0.9458 GB, free: 57.64 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003621/1.62, allocations: 3.498 MB / 0.9492 GB, free: 54.14 MB / 0.5138 GB Notification: Performance of SimCode: time 1.413e-06/1.62, allocations: 0 / 0.9492 GB, free: 54.14 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3142/1.934, allocations: 102.7 MB / 1.05 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001218/1.934, allocations: 185.1 kB / 1.05 GB, free: 144 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.854/6.789, allocations: 0 / 1.05 GB, free: 144 MB / 0.5294 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/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) 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