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.002197/0.002197, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.00113, allocations: 86.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3286/0.3286, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.024e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1331, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5468/0.6799, allocations: 104.8 MB / 0.5752 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.6803, allocations: 74.44 kB / 0.5753 GB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3875/1.068, allocations: 86.75 MB / 0.66 GB, free: 36 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.068, allocations: 0 / 0.66 GB, free: 36 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003316/1.068, allocations: 88.22 kB / 0.6601 GB, free: 15.95 MB / 474.7 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.0161/1.084, allocations: 3.991 MB / 0.664 GB, free: 11.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.642e-05/1.084, allocations: 8.031 kB / 0.664 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003582/1.088, allocations: 0.7748 MB / 0.6647 GB, free: 11.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02063/1.109, allocations: 2.443 MB / 0.6671 GB, free: 8.645 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02042/1.129, allocations: 5.176 MB / 0.6722 GB, free: 3.402 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005594/1.13, allocations: 332.6 kB / 0.6725 GB, free: 3.074 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00256/1.132, allocations: 443.8 kB / 0.6729 GB, free: 2.641 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03541/1.168, allocations: 10.59 MB / 0.6833 GB, free: 6.902 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002964/1.168, allocations: 71.3 kB / 0.6833 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001832/1.17, allocations: 215.9 kB / 0.6835 GB, free: 6.621 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002903/1.173, allocations: 1.045 MB / 0.6845 GB, free: 5.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0284/1.201, allocations: 8.174 MB / 0.6925 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4287/1.63, allocations: 48.08 MB / 0.7395 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/1.644, allocations: 3.209 MB / 0.7426 GB, free: 85.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/1.647, allocations: 1.016 MB / 0.7436 GB, free: 85.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01483/1.662, allocations: 6.003 MB / 0.7495 GB, free: 82.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/1.662, allocations: 56.98 kB / 0.7495 GB, free: 82.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=148): time 6.092e-06/1.662, allocations: 0.9688 kB / 0.7495 GB, free: 82.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.03784/1.7, allocations: 8.752 MB / 0.7581 GB, free: 79.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/1.7, allocations: 211.1 kB / 0.7583 GB, free: 79.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008652/1.709, allocations: 3.572 MB / 0.7618 GB, free: 78.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003201/1.709, allocations: 45.86 kB / 0.7618 GB, free: 78.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002869/1.712, allocations: 3.114 MB / 0.7648 GB, free: 77.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000951/1.713, allocations: 0.6327 MB / 0.7655 GB, free: 76.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007206/1.714, allocations: 122.2 kB / 0.7656 GB, free: 76.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004243/1.714, allocations: 0.5585 MB / 0.7661 GB, free: 76.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004235/1.719, allocations: 1.552 MB / 0.7676 GB, free: 76.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007071/1.726, allocations: 5.374 MB / 0.7729 GB, free: 71.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006863/1.733, allocations: 2.888 MB / 0.7757 GB, free: 71.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001806/1.733, allocations: 38.91 kB / 0.7757 GB, free: 71.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01782/1.751, allocations: 6.56 MB / 0.7822 GB, free: 70.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/1.751, allocations: 63.12 kB / 0.7822 GB, free: 70.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/1.751, allocations: 134.1 kB / 0.7823 GB, free: 70.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/1.752, allocations: 204.7 kB / 0.7825 GB, free: 70.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009026/1.761, allocations: 1.445 MB / 0.7839 GB, free: 70.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002756/1.761, allocations: 263.3 kB / 0.7842 GB, free: 70.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007264/1.768, allocations: 383.7 kB / 0.7846 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.77, allocations: 373.8 kB / 0.7849 GB, free: 70.49 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 (763): * Single equations (assignments): 760 * 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.001353/1.771, allocations: 0.5885 MB / 0.7855 GB, free: 70.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009091/1.772, allocations: 349 kB / 0.7858 GB, free: 69.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/1.775, allocations: 1.317 MB / 0.7871 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.182e-05/1.775, allocations: 17.47 kB / 0.7871 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.775, allocations: 4 kB / 0.7871 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/1.775, allocations: 12.69 kB / 0.7871 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/1.791, allocations: 5.83 MB / 0.7928 GB, free: 66.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.232e-05/1.791, allocations: 24.5 kB / 0.7929 GB, free: 66.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/1.793, allocations: 282.8 kB / 0.7931 GB, free: 66.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.805e-05/1.793, allocations: 31.44 kB / 0.7932 GB, free: 66.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/1.793, allocations: 44.53 kB / 0.7932 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.152e-05/1.794, allocations: 40.83 kB / 0.7932 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.942e-05/1.794, allocations: 25.88 kB / 0.7933 GB, free: 66.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006002/1.8, allocations: 5.298 MB / 0.7984 GB, free: 62.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1.802, allocations: 0.5398 MB / 0.799 GB, free: 61.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008236/1.802, allocations: 50.69 kB / 0.799 GB, free: 61.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002771/1.805, allocations: 94.83 kB / 0.7991 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003906/1.806, allocations: 147.1 kB / 0.7993 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.806, allocations: 67.89 kB / 0.7993 GB, free: 61.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006028/1.812, allocations: 2.468 MB / 0.8017 GB, free: 60.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.32e-07/1.812, allocations: 0 / 0.8017 GB, free: 60.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006851/1.819, allocations: 0.9187 MB / 0.8026 GB, free: 60.56 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * 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 (146): * Single equations (assignments): 143 * 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.007119/1.826, allocations: 10.19 MB / 0.8126 GB, free: 51.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008215/1.834, allocations: 3.638 MB / 0.8161 GB, free: 50.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/1.834, allocations: 7.562 kB / 0.8161 GB, free: 50.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/1.836, allocations: 0.7369 MB / 0.8169 GB, free: 49.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/1.839, allocations: 432.7 kB / 0.8173 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02922/1.869, allocations: 9.002 MB / 0.8261 GB, free: 44.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007599/1.876, allocations: 3.27 MB / 0.8292 GB, free: 41.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004437/1.881, allocations: 1.905 MB / 0.8311 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/1.881, allocations: 4 kB / 0.8311 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.389/6.27, allocations: 76.63 MB / 0.9059 GB, free: 121.9 MB / 0.5105 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