Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008595/0.0008593, allocations: 95.67 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.207/0.207, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.181e-05, allocations: 7.938 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 61.91 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4567/0.5781, allocations: 109.3 MB / 0.6085 GB, free: 11.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.5784, allocations: 75.95 kB / 0.6086 GB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6735/1.252, allocations: 140.8 MB / 0.7461 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.304e-06/1.252, allocations: 7.188 kB / 0.7461 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003212/1.252, allocations: 138.1 kB / 0.7462 GB, free: 112.7 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02455/1.277, allocations: 6.331 MB / 0.7524 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/1.277, allocations: 10.12 kB / 0.7524 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007781/1.285, allocations: 1.302 MB / 0.7537 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/1.303, allocations: 3.547 MB / 0.7571 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01982/1.323, allocations: 7.07 MB / 0.764 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007102/1.324, allocations: 0.5723 MB / 0.7646 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004208/1.328, allocations: 0.7525 MB / 0.7653 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05324/1.381, allocations: 20.66 MB / 0.7855 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007861/1.382, allocations: 96.22 kB / 0.7856 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004225/1.386, allocations: 373.2 kB / 0.786 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00345/1.39, allocations: 1.82 MB / 0.7877 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04004/1.43, allocations: 16.35 MB / 0.8037 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09182/1.522, allocations: 77.09 MB / 0.879 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/1.538, allocations: 6.118 MB / 0.885 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003504/1.542, allocations: 1.938 MB / 0.8869 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01768/1.56, allocations: 9.226 MB / 0.8959 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/1.56, allocations: 64.5 kB / 0.8959 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=257): time 5.66e-06/1.56, allocations: 0 / 0.8959 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of matching and sorting (n=291): time 0.4422/2.002, allocations: 19.62 MB / 0.9151 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.64e-05/2.002, allocations: 164.1 kB / 0.9153 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/2.014, allocations: 5.1 MB / 0.9202 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006914/2.015, allocations: 68.25 kB / 0.9203 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004364/2.019, allocations: 4.964 MB / 0.9251 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001654/2.021, allocations: 1.118 MB / 0.9262 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006165/2.021, allocations: 186.2 kB / 0.9264 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005277/2.022, allocations: 0.6909 MB / 0.9271 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00497/2.027, allocations: 2.436 MB / 0.9295 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008421/2.035, allocations: 7.974 MB / 0.9373 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009255/2.044, allocations: 4.362 MB / 0.9415 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003359/2.045, allocations: 54.41 kB / 0.9416 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.02384/2.069, allocations: 10.15 MB / 0.9515 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006703/2.069, allocations: 91.72 kB / 0.9516 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006504/2.07, allocations: 199.5 kB / 0.9518 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/2.071, allocations: 288.1 kB / 0.952 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008452/2.079, allocations: 2.236 MB / 0.9542 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005347/2.08, allocations: 387.6 kB / 0.9546 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008773/2.088, allocations: 0.5717 MB / 0.9551 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00221/2.091, allocations: 0.5356 MB / 0.9557 GB, free: 102.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 78 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1174): * Single equations (assignments): 1171 * 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.003612/2.094, allocations: 0.836 MB / 0.9565 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/2.096, allocations: 0.517 MB / 0.957 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006635/2.103, allocations: 2.792 MB / 0.9597 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.536e-05/2.103, allocations: 28.66 kB / 0.9597 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/2.103, allocations: 3.156 kB / 0.9597 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.88e-05/2.103, allocations: 15 kB / 0.9598 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02887/2.132, allocations: 12.35 MB / 0.9718 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.676e-05/2.132, allocations: 33.16 kB / 0.9718 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/2.134, allocations: 0.5275 MB / 0.9724 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.841e-05/2.134, allocations: 48.16 kB / 0.9724 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000298/2.135, allocations: 95.61 kB / 0.9725 GB, free: 96.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-05/2.135, allocations: 66.05 kB / 0.9726 GB, free: 96.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.197e-05/2.135, allocations: 46.38 kB / 0.9726 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008334/2.143, allocations: 11 MB / 0.9833 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/2.145, allocations: 0.5905 MB / 0.9839 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001562/2.147, allocations: 93.8 kB / 0.984 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003378/2.15, allocations: 186.1 kB / 0.9842 GB, free: 85.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/2.151, allocations: 269.3 kB / 0.9844 GB, free: 85.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/2.151, allocations: 113.9 kB / 0.9846 GB, free: 85.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007905/2.159, allocations: 3.526 MB / 0.988 GB, free: 84.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.11e-07/2.159, allocations: 0 / 0.988 GB, free: 84.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01102/2.17, allocations: 1.477 MB / 0.9894 GB, free: 84.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 266 * 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.0113/2.181, allocations: 17.45 MB / 1.006 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01132/2.193, allocations: 5.706 MB / 1.012 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.853e-05/2.193, allocations: 5.625 kB / 1.012 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/2.195, allocations: 1.288 MB / 1.013 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005176/2.2, allocations: 0.7106 MB / 1.014 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04587/2.246, allocations: 14.22 MB / 1.028 GB, free: 59.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01069/2.257, allocations: 5.021 MB / 1.033 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008618/2.265, allocations: 2.623 MB / 1.035 GB, free: 53.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006079/2.271, allocations: 3.243 MB / 1.039 GB, free: 50.94 MB / 0.5261 GB Notification: Performance of SimCode: time 1.944e-06/2.271, allocations: 4 kB / 1.039 GB, free: 50.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5468/2.818, allocations: 107.9 MB / 1.144 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/2.818, allocations: 139.2 kB / 1.144 GB, free: 109 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/9.654, allocations: 3.938 kB / 1.144 GB, free: 109 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat