Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002253/0.002253, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 86.88 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3063/0.3063, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.859e-05, allocations: 7.984 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4886, allocations: 58.84 MB / 477.2 MB, free: 5.184 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.6852, allocations: 104.1 MB / 0.5676 GB, free: 11.09 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.6856, allocations: 79.47 kB / 0.5677 GB, free: 11.02 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7154/1.401, allocations: 84.93 MB / 0.6507 GB, free: 107.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.795e-06/1.401, allocations: 0 / 0.6507 GB, free: 107.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003496/1.401, allocations: 81.59 kB / 0.6507 GB, free: 107.3 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01748/1.419, allocations: 3.983 MB / 0.6546 GB, free: 105.6 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/1.419, allocations: 9.625 kB / 0.6546 GB, free: 105.6 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02063/1.44, allocations: 2.447 MB / 0.657 GB, free: 105.3 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02012/1.46, allocations: 5.17 MB / 0.6621 GB, free: 104.7 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000388/1.46, allocations: 141.8 kB / 0.6622 GB, free: 104.7 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002687/1.463, allocations: 252.3 kB / 0.6624 GB, free: 104.7 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01687/1.48, allocations: 6.166 MB / 0.6685 GB, free: 104.7 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/1.505, allocations: 9.455 MB / 0.6777 GB, free: 101.7 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003144/1.505, allocations: 62.06 kB / 0.6778 GB, free: 101.7 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/1.508, allocations: 34.06 kB / 0.6778 GB, free: 101.7 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002667/1.51, allocations: 1.046 MB / 0.6788 GB, free: 101.5 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06469/1.575, allocations: 47.32 MB / 0.725 GB, free: 64.51 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/1.579, allocations: 2.068 MB / 0.727 GB, free: 63.27 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/1.581, allocations: 0.9344 MB / 0.728 GB, free: 62.89 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/1.582, allocations: 1.208 MB / 0.7291 GB, free: 61.81 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/1.582, allocations: 54.72 kB / 0.7292 GB, free: 61.75 MB / 475.1 MB Notification: Performance of pre-optimization done (n=158): time 6.051e-06/1.582, allocations: 0 / 0.7292 GB, free: 61.75 MB / 475.1 MB Notification: Performance of matching and sorting (n=170): time 0.02728/1.61, allocations: 9.171 MB / 0.7381 GB, free: 56.77 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/1.61, allocations: 246.3 kB / 0.7384 GB, free: 56.49 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00594/1.616, allocations: 3.057 MB / 0.7414 GB, free: 55.29 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003327/1.616, allocations: 25.7 kB / 0.7414 GB, free: 55.26 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00263/1.619, allocations: 3.2 MB / 0.7445 GB, free: 52.6 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009881/1.62, allocations: 0.6466 MB / 0.7452 GB, free: 52.02 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/1.621, allocations: 0 / 0.7452 GB, free: 52.02 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0007264/1.622, allocations: 0.5771 MB / 0.7457 GB, free: 51.51 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003616/1.625, allocations: 1.494 MB / 0.7472 GB, free: 50.17 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005978/1.631, allocations: 5.438 MB / 0.7525 GB, free: 43 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/1.638, allocations: 2.849 MB / 0.7553 GB, free: 40.58 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/1.638, allocations: 40 kB / 0.7553 GB, free: 40.54 MB / 475.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01598/1.654, allocations: 5.924 MB / 0.7611 GB, free: 35.32 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.654, allocations: 68 kB / 0.7612 GB, free: 35.25 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/1.654, allocations: 142 kB / 0.7613 GB, free: 35.11 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/1.655, allocations: 212 kB / 0.7615 GB, free: 34.91 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00877/1.663, allocations: 1.491 MB / 0.7629 GB, free: 33.59 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002238/1.664, allocations: 279.7 kB / 0.7632 GB, free: 33.35 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006753/1.67, allocations: 275.8 kB / 0.7635 GB, free: 33.13 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/1.672, allocations: 388 kB / 0.7638 GB, free: 32.75 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (793): * Single equations (assignments): 790 * 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.0009459/1.673, allocations: 461.9 kB / 0.7643 GB, free: 32.3 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00357/1.676, allocations: 1.673 MB / 0.7659 GB, free: 30.78 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/1.677, allocations: 323.8 kB / 0.7662 GB, free: 30.46 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/1.68, allocations: 1.252 MB / 0.7675 GB, free: 29.39 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.462e-05/1.68, allocations: 20 kB / 0.7675 GB, free: 29.37 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.68, allocations: 4 kB / 0.7675 GB, free: 29.37 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/1.68, allocations: 7.688 kB / 0.7675 GB, free: 29.37 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.693, allocations: 5.315 MB / 0.7727 GB, free: 24.64 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/1.693, allocations: 20 kB / 0.7727 GB, free: 24.62 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/1.695, allocations: 288.8 kB / 0.773 GB, free: 24.38 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-05/1.695, allocations: 28 kB / 0.773 GB, free: 24.35 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.695, allocations: 39.38 kB / 0.773 GB, free: 24.31 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.724e-05/1.695, allocations: 35.58 kB / 0.7731 GB, free: 24.28 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-05/1.695, allocations: 28.34 kB / 0.7731 GB, free: 24.25 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/1.7, allocations: 5.192 MB / 0.7782 GB, free: 18.64 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.702, allocations: 0.5079 MB / 0.7787 GB, free: 18.14 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005079/1.703, allocations: 31.73 kB / 0.7787 GB, free: 18.12 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/1.705, allocations: 70.28 kB / 0.7788 GB, free: 18.07 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/1.705, allocations: 157.6 kB / 0.7789 GB, free: 17.95 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.705, allocations: 67.84 kB / 0.779 GB, free: 17.89 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.004002/1.709, allocations: 2.019 MB / 0.7809 GB, free: 16.14 MB / 475.1 MB Notification: Performance of sort global known variables: time 9.92e-07/1.709, allocations: 0 / 0.7809 GB, free: 16.14 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.006979/1.716, allocations: 0.7848 MB / 0.7817 GB, free: 15.36 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 151 * 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.006628/1.723, allocations: 10.33 MB / 0.7918 GB, free: 4.73 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.007122/1.73, allocations: 3.438 MB / 0.7952 GB, free: 1.602 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.94e-05/1.73, allocations: 6.562 kB / 0.7952 GB, free: 1.598 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/1.731, allocations: 0.7195 MB / 0.7959 GB, free: 0.9375 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/1.734, allocations: 367.4 kB / 0.7962 GB, free: 0.6289 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03089/1.765, allocations: 8.816 MB / 0.8048 GB, free: 7.848 MB / 491.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008035/1.773, allocations: 3.273 MB / 0.808 GB, free: 4.562 MB / 491.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004904/1.778, allocations: 1.905 MB / 0.8099 GB, free: 2.652 MB / 491.1 MB Notification: Performance of SimCode: time 1.453e-06/1.778, allocations: 0 / 0.8099 GB, free: 2.652 MB / 491.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.194/5.972, allocations: 74.35 MB / 0.8825 GB, free: 109.1 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat