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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007651/0.0007651, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008092/0.0008092, allocations: 180.3 kB / 16.58 MB, free: 6.84 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.332/1.332, allocations: 205.4 MB / 222.7 MB, free: 5.637 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.3047/0.3047, allocations: 43.56 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.0004821/0.0004822, allocations: 26.95 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.2636/0.3691, allocations: 79.5 MB / 0.5101 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0381/0.4073, allocations: 16.03 MB / 0.5258 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01797/0.4253, allocations: 365 kB / 0.5261 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01503/0.4404, allocations: 4.176 MB / 0.5302 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03386/0.4743, allocations: 12.12 MB / 0.5421 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006775/0.4811, allocations: 1.083 MB / 0.5431 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0122/0.4933, allocations: 8.21 MB / 0.5511 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01439/0.5077, allocations: 8.558 MB / 0.5595 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004825/0.5126, allocations: 2.18 MB / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005922/0.5186, allocations: 3.618 MB / 0.5652 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001874/0.5205, allocations: 280 kB / 0.5654 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.5242, allocations: 0.8856 MB / 0.5663 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004242/0.5284, allocations: 3.054 MB / 0.5693 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0026/0.531, allocations: 1.427 MB / 0.5707 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.5417, allocations: 9.402 MB / 0.5798 GB, free: 3.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.5417, allocations: 0 / 0.5798 GB, free: 3.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.5417, allocations: 0 / 0.5798 GB, free: 3.699 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005304/0.5423, allocations: 0 / 0.5798 GB, free: 3.699 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.01547/0.5578, allocations: 6.846 MB / 0.5865 GB, free: 12.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.5578, allocations: 12.03 kB / 0.5865 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003933/0.5618, allocations: 1.3 MB / 0.5878 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.5727, allocations: 2.809 MB / 0.5906 GB, free: 8.621 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009712/0.5824, allocations: 5.095 MB / 0.5955 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000479/0.5829, allocations: 459.6 kB / 0.596 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/0.5851, allocations: 0.5972 MB / 0.5965 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04312/0.6282, allocations: 21.28 MB / 0.6173 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003022/0.6286, allocations: 75.27 kB / 0.6174 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001885/0.6305, allocations: 283.8 kB / 0.6177 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006107/0.6366, allocations: 3.541 MB / 0.6211 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2683/0.9049, allocations: 17.26 MB / 0.638 GB, free: 135.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07675/0.9817, allocations: 67.9 MB / 0.7043 GB, free: 90.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/0.9984, allocations: 6.771 MB / 0.7109 GB, free: 87.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/1.002, allocations: 2.335 MB / 0.7132 GB, free: 86.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01539/1.017, allocations: 9.825 MB / 0.7228 GB, free: 79.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01269/1.03, allocations: 4.417 MB / 0.7271 GB, free: 75.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 5.75e-06/1.03, allocations: 0 / 0.7271 GB, free: 75.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.0542/1.084, allocations: 23.21 MB / 0.7498 GB, free: 51.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/1.085, allocations: 158.7 kB / 0.7499 GB, free: 51.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006881/1.091, allocations: 6.049 MB / 0.7558 GB, free: 45.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005566/1.092, allocations: 77.7 kB / 0.7559 GB, free: 45.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003087/1.095, allocations: 5.306 MB / 0.7611 GB, free: 40.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.096, allocations: 1.27 MB / 0.7623 GB, free: 38.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/1.097, allocations: 200 kB / 0.7625 GB, free: 38.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003564/1.097, allocations: 0.7117 MB / 0.7632 GB, free: 37.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004077/1.101, allocations: 2.838 MB / 0.766 GB, free: 35.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00647/1.108, allocations: 8.663 MB / 0.7744 GB, free: 23.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006662/1.114, allocations: 4.814 MB / 0.7791 GB, free: 18.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/1.115, allocations: 60 kB / 0.7792 GB, free: 18.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=1284) (initialization): time 0.01894/1.134, allocations: 11.26 MB / 0.7902 GB, free: 7.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002669/1.134, allocations: 120.7 kB / 0.7903 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00029/1.134, allocations: 204 kB / 0.7905 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/1.134, allocations: 308 kB / 0.7908 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007212/1.142, allocations: 2.359 MB / 0.7931 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000283/1.142, allocations: 404.4 kB / 0.7935 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006547/1.149, allocations: 491.5 kB / 0.7939 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/1.15, allocations: 0.5742 MB / 0.7945 GB, free: 2.859 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1259): * Single equations (assignments): 1255 * 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.005471/1.155, allocations: 3.404 MB / 0.7978 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009593/1.156, allocations: 0.5514 MB / 0.7984 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006391/1.163, allocations: 3.535 MB / 0.8018 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.217e-05/1.163, allocations: 39.95 kB / 0.8019 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.163, allocations: 0 / 0.8019 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.665e-05/1.163, allocations: 19.94 kB / 0.8019 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02581/1.189, allocations: 13.81 MB / 0.8154 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.064e-05/1.189, allocations: 32.94 kB / 0.8154 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/1.191, allocations: 0.6786 MB / 0.8161 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.964e-05/1.191, allocations: 52 kB / 0.8161 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/1.192, allocations: 114.2 kB / 0.8162 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.316e-05/1.192, allocations: 63.8 kB / 0.8163 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.825e-05/1.192, allocations: 55.7 kB / 0.8163 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008789/1.2, allocations: 6.225 MB / 0.8224 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/1.203, allocations: 0.849 MB / 0.8232 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008368/1.203, allocations: 103.2 kB / 0.8233 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/1.205, allocations: 171.9 kB / 0.8235 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/1.206, allocations: 322.5 kB / 0.8238 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/1.206, allocations: 128 kB / 0.8239 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.2421/1.448, allocations: 3.746 MB / 0.8276 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.41e-07/1.448, allocations: 0 / 0.8276 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008997/1.457, allocations: 1.562 MB / 0.8291 GB, free: 154.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (320): * Single equations (assignments): 315 * 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.008226/1.465, allocations: 6.956 MB / 0.8359 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.477, allocations: 6.566 MB / 0.8423 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/1.477, allocations: 6.406 kB / 0.8423 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/1.48, allocations: 1.884 MB / 0.8442 GB, free: 150.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/1.484, allocations: 0.7678 MB / 0.8449 GB, free: 150.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09862/1.583, allocations: 58.16 MB / 0.9017 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007861/1.591, allocations: 5.142 MB / 0.9067 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007296/1.598, allocations: 2.76 MB / 0.9094 GB, free: 106.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004036/1.602, allocations: 3.47 MB / 0.9128 GB, free: 103.1 MB / 0.5137 GB Notification: Performance of SimCode: time 6.42e-07/1.602, allocations: 0 / 0.9128 GB, free: 103.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3788/1.981, allocations: 114.6 MB / 1.025 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/1.981, allocations: 186.4 kB / 1.025 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.284/7.265, allocations: 0 / 1.025 GB, free: 135.5 MB / 0.5294 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) Environment - environmentSimulation: 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