Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_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.001214/0.001214, allocations: 185.9 kB / 15.76 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 221.9 MB, free: 13.8 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.001516/0.001516, allocations: 90.92 kB / 270.2 MB, free: 13.34 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.2344/0.2344, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003633, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5723, allocations: 104.8 MB / 0.5812 GB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.5726, allocations: 88.94 kB / 0.5813 GB, free: 11.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2342/0.8068, allocations: 86.7 MB / 0.666 GB, free: 12.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.8069, allocations: 0 / 0.666 GB, free: 12.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002859/0.8072, allocations: 84 kB / 0.6661 GB, free: 12.13 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.01428/0.8215, allocations: 4.224 MB / 0.6702 GB, free: 7.832 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.8216, allocations: 12.03 kB / 0.6702 GB, free: 7.82 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003446/0.825, allocations: 0.7787 MB / 0.671 GB, free: 7.031 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.8364, allocations: 2.443 MB / 0.6734 GB, free: 4.578 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/0.8513, allocations: 5.203 MB / 0.6784 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005427/0.8519, allocations: 332.7 kB / 0.6788 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002682/0.8546, allocations: 443.9 kB / 0.6792 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02682/0.8814, allocations: 10.74 MB / 0.6897 GB, free: 2.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/0.8817, allocations: 71.3 kB / 0.6897 GB, free: 2.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/0.8827, allocations: 215.9 kB / 0.6899 GB, free: 2.379 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/0.8843, allocations: 1.041 MB / 0.691 GB, free: 1.328 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/0.9022, allocations: 8.429 MB / 0.6992 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3269/1.229, allocations: 48.07 MB / 0.7461 GB, free: 83.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008749/1.238, allocations: 3.25 MB / 0.7493 GB, free: 82.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/1.249, allocations: 5.995 MB / 0.7552 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.249, allocations: 52.06 kB / 0.7552 GB, free: 79.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=148): time 4.378e-06/1.249, allocations: 1.438 kB / 0.7552 GB, free: 79.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.02205/1.271, allocations: 9.776 MB / 0.7648 GB, free: 76.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/1.271, allocations: 196.1 kB / 0.765 GB, free: 76.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005484/1.277, allocations: 3.674 MB / 0.7685 GB, free: 76.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002762/1.277, allocations: 57.06 kB / 0.7686 GB, free: 76.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00203/1.279, allocations: 3.179 MB / 0.7717 GB, free: 74.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007197/1.28, allocations: 0.6395 MB / 0.7723 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/1.28, allocations: 118.4 kB / 0.7724 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002666/1.28, allocations: 0.558 MB / 0.773 GB, free: 73.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/1.283, allocations: 1.656 MB / 0.7746 GB, free: 73.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004593/1.288, allocations: 5.486 MB / 0.78 GB, free: 68.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004669/1.292, allocations: 2.955 MB / 0.7828 GB, free: 68.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/1.293, allocations: 40.88 kB / 0.7829 GB, free: 68.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01333/1.306, allocations: 6.89 MB / 0.7896 GB, free: 67.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.306, allocations: 62.34 kB / 0.7897 GB, free: 67.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001762/1.306, allocations: 141.3 kB / 0.7898 GB, free: 67.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/1.306, allocations: 198.3 kB / 0.79 GB, free: 67.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004572/1.311, allocations: 1.444 MB / 0.7914 GB, free: 67.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001612/1.311, allocations: 265.5 kB / 0.7917 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00484/1.316, allocations: 384.8 kB / 0.792 GB, free: 67.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008619/1.317, allocations: 368.4 kB / 0.7924 GB, free: 67.13 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 () * Number of clocked 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.00436/1.321, allocations: 2.04 MB / 0.7944 GB, free: 66.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009499/1.322, allocations: 350.4 kB / 0.7947 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/1.325, allocations: 1.332 MB / 0.796 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/1.325, allocations: 21.92 kB / 0.796 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/1.325, allocations: 14.06 kB / 0.796 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.325, allocations: 7.609 kB / 0.796 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/1.337, allocations: 5.863 MB / 0.8018 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/1.337, allocations: 19.28 kB / 0.8018 GB, free: 62.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009512/1.338, allocations: 285.4 kB / 0.8021 GB, free: 62.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.296e-05/1.338, allocations: 28.38 kB / 0.8021 GB, free: 62.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/1.338, allocations: 48.83 kB / 0.8021 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.036e-05/1.338, allocations: 38.12 kB / 0.8022 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/1.338, allocations: 29.94 kB / 0.8022 GB, free: 62.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/1.343, allocations: 5.335 MB / 0.8074 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/1.345, allocations: 0.5322 MB / 0.8079 GB, free: 57.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/1.345, allocations: 52.91 kB / 0.808 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.347, allocations: 98.52 kB / 0.8081 GB, free: 57.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.347, allocations: 149.5 kB / 0.8082 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/1.347, allocations: 63.47 kB / 0.8083 GB, free: 57.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004204/1.351, allocations: 2.562 MB / 0.8108 GB, free: 56.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/1.351, allocations: 0 / 0.8108 GB, free: 56.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005551/1.357, allocations: 0.9205 MB / 0.8117 GB, free: 56.63 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 () * Number of clocked 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.004895/1.362, allocations: 10.23 MB / 0.8217 GB, free: 47.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006254/1.368, allocations: 3.761 MB / 0.8253 GB, free: 46.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/1.368, allocations: 3.5 kB / 0.8253 GB, free: 46.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009917/1.369, allocations: 0.7444 MB / 0.8261 GB, free: 46.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.372, allocations: 447.9 kB / 0.8265 GB, free: 45.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3067/1.678, allocations: 113.5 MB / 0.9373 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005058/1.683, allocations: 3.266 MB / 0.9405 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00555/1.689, allocations: 1.822 MB / 0.9423 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002778/1.692, allocations: 1.873 MB / 0.9441 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/1.692, allocations: 0 / 0.9441 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/1.805, allocations: 67.32 MB / 1.01 GB, free: 87.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/1.805, allocations: 160.6 kB / 1.01 GB, free: 87.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.396/6.2, allocations: 1.75 kB / 1.01 GB, free: 87.35 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat