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.001195/0.001195, allocations: 101.7 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 194.5 kB / 16.91 MB, free: 6.191 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.523/1.523, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.3785/0.3785, allocations: 43.5 MB / 313.6 MB, free: 8.516 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.00142/0.00142, allocations: 71.89 kB / 382.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 57.78 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3154/0.4408, allocations: 87.53 MB / 0.5153 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04973/0.4906, allocations: 16.63 MB / 0.5315 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02636/0.517, allocations: 374.1 kB / 0.5319 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01245/0.5295, allocations: 5.047 MB / 0.5368 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.5402, allocations: 2.541 MB / 0.5393 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003994/0.5442, allocations: 1.109 MB / 0.5404 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01325/0.5575, allocations: 7.063 MB / 0.5473 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009139/0.5667, allocations: 6.909 MB / 0.554 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005772/0.5725, allocations: 2.819 MB / 0.5568 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007472/0.58, allocations: 4.37 MB / 0.561 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002315/0.5824, allocations: 0.625 MB / 0.5616 GB, free: 4.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.5859, allocations: 1.338 MB / 0.5629 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00416/0.5901, allocations: 3.561 MB / 0.5664 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006638/0.5967, allocations: 4.063 MB / 0.5704 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.6125, allocations: 11.91 MB / 0.582 GB, free: 15.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.6125, allocations: 4 kB / 0.582 GB, free: 15.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.6126, allocations: 0 / 0.582 GB, free: 15.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006304/0.6132, allocations: 0 / 0.582 GB, free: 15.69 MB / 462.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.02391/0.6371, allocations: 8.245 MB / 0.5901 GB, free: 7.359 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/0.6372, allocations: 19.89 kB / 0.5901 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00465/0.6419, allocations: 1.29 MB / 0.5914 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.6548, allocations: 2.756 MB / 0.594 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.6663, allocations: 5.144 MB / 0.5991 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004669/0.6668, allocations: 464 kB / 0.5995 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/0.6694, allocations: 0.5854 MB / 0.6001 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04772/0.7171, allocations: 21.23 MB / 0.6208 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000334/0.7175, allocations: 75.25 kB / 0.6209 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001874/0.7194, allocations: 279.8 kB / 0.6211 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005478/0.7248, allocations: 3.545 MB / 0.6246 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4616/1.186, allocations: 17.2 MB / 0.6414 GB, free: 135.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09113/1.278, allocations: 67.87 MB / 0.7077 GB, free: 88.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01641/1.294, allocations: 6.686 MB / 0.7142 GB, free: 85.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/1.297, allocations: 2.284 MB / 0.7164 GB, free: 83.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01426/1.312, allocations: 9.783 MB / 0.726 GB, free: 74.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/1.312, allocations: 64.56 kB / 0.7261 GB, free: 74.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 6.011e-06/1.312, allocations: 0 / 0.7261 GB, free: 74.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.05553/1.367, allocations: 22.89 MB / 0.7484 GB, free: 51.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.368, allocations: 162.7 kB / 0.7486 GB, free: 50.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007922/1.375, allocations: 6.067 MB / 0.7545 GB, free: 44.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006836/1.376, allocations: 75.89 kB / 0.7546 GB, free: 44.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002585/1.379, allocations: 5.196 MB / 0.7596 GB, free: 39.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001427/1.38, allocations: 1.249 MB / 0.7609 GB, free: 38.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002122/1.382, allocations: 1.921 MB / 0.7627 GB, free: 36.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/1.382, allocations: 305.1 kB / 0.763 GB, free: 36.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003739/1.386, allocations: 2.826 MB / 0.7658 GB, free: 33.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006286/1.392, allocations: 8.639 MB / 0.7742 GB, free: 21.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.405, allocations: 12.48 MB / 0.7864 GB, free: 6.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001649/1.405, allocations: 60 kB / 0.7865 GB, free: 6.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=1279) (initialization): time 0.01973/1.425, allocations: 11.2 MB / 0.7974 GB, free: 10.99 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003502/1.425, allocations: 92.47 kB / 0.7975 GB, free: 10.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004766/1.426, allocations: 208.2 kB / 0.7977 GB, free: 10.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/1.426, allocations: 276 kB / 0.798 GB, free: 10.43 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008141/1.434, allocations: 2.336 MB / 0.8002 GB, free: 8.086 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004353/1.435, allocations: 402.5 kB / 0.8006 GB, free: 7.691 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007021/1.442, allocations: 484.9 kB / 0.8011 GB, free: 7.219 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001714/1.444, allocations: 0.5703 MB / 0.8016 GB, free: 6.648 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.007294/1.451, allocations: 3.393 MB / 0.8049 GB, free: 3.238 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.452, allocations: 0.5476 MB / 0.8055 GB, free: 2.684 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008559/1.461, allocations: 3.456 MB / 0.8089 GB, free: 15.18 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.155e-05/1.461, allocations: 36 kB / 0.8089 GB, free: 15.14 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.461, allocations: 0 / 0.8089 GB, free: 15.14 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-05/1.461, allocations: 19.94 kB / 0.8089 GB, free: 15.12 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02987/1.491, allocations: 13.78 MB / 0.8224 GB, free: 0.7852 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.598e-05/1.491, allocations: 36 kB / 0.8224 GB, free: 0.75 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/1.494, allocations: 0.6084 MB / 0.823 GB, free: 144 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.589e-05/1.494, allocations: 48 kB / 0.823 GB, free: 96 kB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2747/1.768, allocations: 103.6 kB / 0.8231 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000148/1.769, allocations: 72.5 kB / 0.8232 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.322e-05/1.769, allocations: 52.81 kB / 0.8233 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.779, allocations: 6.307 MB / 0.8294 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003114/1.782, allocations: 0.839 MB / 0.8302 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002004/1.784, allocations: 101.3 kB / 0.8303 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003791/1.788, allocations: 151.8 kB / 0.8305 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006973/1.789, allocations: 303.5 kB / 0.8308 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003885/1.789, allocations: 129.9 kB / 0.8309 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007798/1.797, allocations: 3.772 MB / 0.8346 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.8e-07/1.797, allocations: 3.188 kB / 0.8346 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009421/1.807, allocations: 1.55 MB / 0.8361 GB, free: 151.2 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.00957/1.816, allocations: 7.064 MB / 0.843 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01652/1.833, allocations: 7.425 MB / 0.8502 GB, free: 145.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-05/1.833, allocations: 5.031 kB / 0.8502 GB, free: 145.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003587/1.836, allocations: 1.575 MB / 0.8518 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00813/1.845, allocations: 0.7788 MB / 0.8525 GB, free: 144.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1451/1.99, allocations: 91.73 MB / 0.9421 GB, free: 60.19 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009421/1.999, allocations: 5.134 MB / 0.9471 GB, free: 56.27 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007753/2.007, allocations: 2.757 MB / 0.9498 GB, free: 54.52 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006266/2.013, allocations: 3.497 MB / 0.9532 GB, free: 51.29 MB / 0.5138 GB Notification: Performance of SimCode: time 8.02e-07/2.013, allocations: 0 / 0.9532 GB, free: 51.29 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3847/2.398, allocations: 105.5 MB / 1.056 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/2.398, allocations: 184.6 kB / 1.056 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.296/7.694, allocations: 0 / 1.056 GB, free: 152.5 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