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.0008041/0.0008044, allocations: 96.7 kB / 15.7 MB, free: 468 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.0008879/0.0008879, allocations: 172.2 kB / 16.58 MB, free: 6.844 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.57/1.57, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3695/0.3695, allocations: 43.54 MB / 314.6 MB, free: 8.781 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.0005399/0.0005399, allocations: 16 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1164, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.284/0.4004, allocations: 79.44 MB / 0.5101 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04136/0.4418, allocations: 15.99 MB / 0.5257 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0216/0.4634, allocations: 364.6 kB / 0.526 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01587/0.4793, allocations: 4.167 MB / 0.5301 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03857/0.518, allocations: 12.13 MB / 0.542 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006422/0.5244, allocations: 1.065 MB / 0.543 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01162/0.536, allocations: 8.166 MB / 0.551 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0138/0.5499, allocations: 8.541 MB / 0.5593 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004578/0.5545, allocations: 2.168 MB / 0.5614 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005612/0.5601, allocations: 3.587 MB / 0.5649 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.5617, allocations: 276 kB / 0.5652 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.5647, allocations: 0.8856 MB / 0.5661 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003479/0.5682, allocations: 3.051 MB / 0.569 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002591/0.5708, allocations: 1.423 MB / 0.5704 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.5817, allocations: 9.375 MB / 0.5796 GB, free: 3.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5818, allocations: 0 / 0.5796 GB, free: 3.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5818, allocations: 0 / 0.5796 GB, free: 3.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005339/0.5824, allocations: 8 kB / 0.5796 GB, free: 3.949 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.01384/0.5962, allocations: 6.748 MB / 0.5862 GB, free: 13.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5963, allocations: 12.03 kB / 0.5862 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003266/0.5995, allocations: 1.296 MB / 0.5875 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.6101, allocations: 2.809 MB / 0.5902 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.6203, allocations: 5.079 MB / 0.5952 GB, free: 3.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004862/0.6208, allocations: 459.6 kB / 0.5956 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001975/0.6228, allocations: 0.5817 MB / 0.5962 GB, free: 2.809 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04422/0.6671, allocations: 21.23 MB / 0.6169 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005243/0.6676, allocations: 71.34 kB / 0.617 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002896/0.6706, allocations: 287.7 kB / 0.6172 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005662/0.6762, allocations: 3.541 MB / 0.6207 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4215/1.098, allocations: 17.17 MB / 0.6375 GB, free: 134.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.079/1.177, allocations: 67.84 MB / 0.7037 GB, free: 89.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/1.193, allocations: 6.676 MB / 0.7102 GB, free: 86.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003619/1.197, allocations: 2.295 MB / 0.7125 GB, free: 84.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/1.213, allocations: 9.787 MB / 0.722 GB, free: 78.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/1.213, allocations: 66.44 kB / 0.7221 GB, free: 78.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 6.172e-06/1.213, allocations: 4 kB / 0.7221 GB, free: 78.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.05357/1.266, allocations: 22.92 MB / 0.7445 GB, free: 55.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.266, allocations: 162.7 kB / 0.7446 GB, free: 55.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006805/1.273, allocations: 6.028 MB / 0.7505 GB, free: 49.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003428/1.273, allocations: 72.52 kB / 0.7506 GB, free: 49.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00212/1.276, allocations: 5.202 MB / 0.7557 GB, free: 43.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007755/1.276, allocations: 1.248 MB / 0.7569 GB, free: 42.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/1.277, allocations: 202.7 kB / 0.7571 GB, free: 42.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003078/1.277, allocations: 0.7155 MB / 0.7578 GB, free: 41.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003537/1.281, allocations: 2.787 MB / 0.7605 GB, free: 38.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005437/1.286, allocations: 8.612 MB / 0.7689 GB, free: 27.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005365/1.291, allocations: 4.75 MB / 0.7736 GB, free: 22.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-05/1.291, allocations: 60 kB / 0.7736 GB, free: 22.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=1279) (initialization): time 0.0167/1.308, allocations: 11.12 MB / 0.7845 GB, free: 11.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/1.308, allocations: 92.22 kB / 0.7846 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003586/1.309, allocations: 208 kB / 0.7848 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/1.309, allocations: 304 kB / 0.7851 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006335/1.316, allocations: 2.332 MB / 0.7873 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002844/1.316, allocations: 406.4 kB / 0.7877 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005654/1.321, allocations: 483.4 kB / 0.7882 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008523/1.322, allocations: 0.5664 MB / 0.7887 GB, free: 7.039 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005528/1.328, allocations: 3.397 MB / 0.7921 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/1.329, allocations: 0.5476 MB / 0.7926 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006586/1.336, allocations: 3.447 MB / 0.796 GB, free: 15.57 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/1.336, allocations: 32 kB / 0.796 GB, free: 15.54 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/1.336, allocations: 4 kB / 0.796 GB, free: 15.54 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-05/1.336, allocations: 23.83 kB / 0.796 GB, free: 15.52 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03073/1.367, allocations: 13.8 MB / 0.8095 GB, free: 1.234 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000104/1.367, allocations: 39.94 kB / 0.8095 GB, free: 1.195 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/1.369, allocations: 0.6088 MB / 0.8101 GB, free: 0.5859 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.707e-05/1.369, allocations: 56 kB / 0.8102 GB, free: 0.5312 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003411/1.37, allocations: 99.98 kB / 0.8103 GB, free: 444 kB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-05/1.37, allocations: 69.5 kB / 0.8103 GB, free: 376 kB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.519e-05/1.37, allocations: 56.22 kB / 0.8104 GB, free: 320 kB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009534/1.379, allocations: 6.288 MB / 0.8165 GB, free: 9.41 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/1.382, allocations: 0.849 MB / 0.8174 GB, free: 8.535 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.383, allocations: 99.97 kB / 0.8175 GB, free: 8.438 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002714/1.386, allocations: 159.9 kB / 0.8176 GB, free: 8.281 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/1.386, allocations: 308.2 kB / 0.8179 GB, free: 7.98 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/1.386, allocations: 132 kB / 0.818 GB, free: 7.852 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007152/1.394, allocations: 3.733 MB / 0.8217 GB, free: 4.121 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.21e-07/1.394, allocations: 0 / 0.8217 GB, free: 4.121 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007953/1.402, allocations: 1.554 MB / 0.8232 GB, free: 2.574 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 (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.2328/1.634, allocations: 7.023 MB / 0.8301 GB, free: 152.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009848/1.644, allocations: 6.425 MB / 0.8363 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.286e-05/1.644, allocations: 6.344 kB / 0.8363 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/1.647, allocations: 1.559 MB / 0.8379 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005894/1.653, allocations: 0.7579 MB / 0.8386 GB, free: 151.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.102/1.755, allocations: 57.74 MB / 0.895 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006486/1.761, allocations: 5.15 MB / 0.9 GB, free: 108.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006309/1.767, allocations: 2.762 MB / 0.9027 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003537/1.771, allocations: 3.497 MB / 0.9061 GB, free: 105.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.543e-06/1.771, allocations: 0 / 0.9061 GB, free: 105.4 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/1.907, allocations: 113.7 MB / 1.017 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.213/2.12, allocations: 175.9 kB / 1.017 GB, free: 208.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.023/7.143, allocations: 0 / 1.017 GB, free: 208.4 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/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