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.001919/0.001919, allocations: 183 kB / 13.19 MB, free: 2.129 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.526/1.526, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.0008303/0.0008302, allocations: 92.45 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4115/0.4115, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.923e-05/4.925e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5895, allocations: 104.8 MB / 0.5752 GB, free: 1.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.5898, allocations: 72.09 kB / 0.5753 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2227/0.8125, allocations: 86.76 MB / 0.66 GB, free: 2.984 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.8126, allocations: 0 / 0.66 GB, free: 2.984 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001657/0.8128, allocations: 84 kB / 0.6601 GB, free: 2.902 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.008884/0.8216, allocations: 3.98 MB / 0.664 GB, free: 14.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.8217, allocations: 11.97 kB / 0.664 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001523/0.8233, allocations: 0.7826 MB / 0.6648 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.8344, allocations: 2.447 MB / 0.6671 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.8488, allocations: 5.16 MB / 0.6722 GB, free: 6.367 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004041/0.8493, allocations: 333.9 kB / 0.6725 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.8514, allocations: 439.8 kB / 0.6729 GB, free: 5.609 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/0.8758, allocations: 10.6 MB / 0.6833 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.8761, allocations: 71.41 kB / 0.6833 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007096/0.8768, allocations: 211.9 kB / 0.6835 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001627/0.8784, allocations: 1.041 MB / 0.6846 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/0.8967, allocations: 8.185 MB / 0.6926 GB, free: 348 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.397/1.294, allocations: 48.08 MB / 0.7395 GB, free: 66.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007618/1.301, allocations: 3.205 MB / 0.7426 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/1.303, allocations: 1.023 MB / 0.7436 GB, free: 65.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/1.313, allocations: 5.997 MB / 0.7495 GB, free: 62.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/1.313, allocations: 51.78 kB / 0.7495 GB, free: 62.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=148): time 6.683e-06/1.313, allocations: 0 / 0.7495 GB, free: 62.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.02356/1.337, allocations: 8.758 MB / 0.7581 GB, free: 59.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/1.337, allocations: 196.5 kB / 0.7583 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006105/1.343, allocations: 3.571 MB / 0.7618 GB, free: 59.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002697/1.344, allocations: 49.17 kB / 0.7618 GB, free: 59.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002419/1.346, allocations: 3.188 MB / 0.7649 GB, free: 57.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007643/1.347, allocations: 0.6389 MB / 0.7655 GB, free: 56.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/1.347, allocations: 122.5 kB / 0.7657 GB, free: 56.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003966/1.347, allocations: 0.5566 MB / 0.7662 GB, free: 56.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/1.35, allocations: 1.552 MB / 0.7677 GB, free: 56.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005049/1.355, allocations: 5.371 MB / 0.773 GB, free: 50.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005153/1.36, allocations: 2.891 MB / 0.7758 GB, free: 49.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.124e-05/1.36, allocations: 39.88 kB / 0.7758 GB, free: 49.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01416/1.375, allocations: 6.678 MB / 0.7824 GB, free: 47.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/1.375, allocations: 66.31 kB / 0.7824 GB, free: 47.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002528/1.375, allocations: 136.2 kB / 0.7825 GB, free: 47.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/1.375, allocations: 200.2 kB / 0.7827 GB, free: 47.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005584/1.381, allocations: 1.442 MB / 0.7841 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002084/1.381, allocations: 269.3 kB / 0.7844 GB, free: 47.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006124/1.387, allocations: 383.6 kB / 0.7848 GB, free: 47.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.389, allocations: 373.6 kB / 0.7851 GB, free: 47.32 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.001918/1.391, allocations: 0.5693 MB / 0.7857 GB, free: 46.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.392, allocations: 356.3 kB / 0.786 GB, free: 46.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/1.395, allocations: 1.318 MB / 0.7873 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.545e-05/1.395, allocations: 18.88 kB / 0.7873 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.395, allocations: 0 / 0.7873 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/1.395, allocations: 14.98 kB / 0.7873 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/1.41, allocations: 5.84 MB / 0.793 GB, free: 43.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.157e-05/1.41, allocations: 20.8 kB / 0.7931 GB, free: 43.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.411, allocations: 287 kB / 0.7933 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-05/1.411, allocations: 28.47 kB / 0.7934 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/1.411, allocations: 48.03 kB / 0.7934 GB, free: 43.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-05/1.412, allocations: 39.11 kB / 0.7934 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.019e-05/1.412, allocations: 26.78 kB / 0.7935 GB, free: 43.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/1.417, allocations: 5.292 MB / 0.7986 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/1.419, allocations: 0.5359 MB / 0.7992 GB, free: 38.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.42, allocations: 53.31 kB / 0.7992 GB, free: 38.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.422, allocations: 97.44 kB / 0.7993 GB, free: 38.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.422, allocations: 146.6 kB / 0.7994 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/1.422, allocations: 62.44 kB / 0.7995 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004806/1.427, allocations: 2.464 MB / 0.8019 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/1.427, allocations: 0 / 0.8019 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007077/1.434, allocations: 0.9275 MB / 0.8028 GB, free: 37.38 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.006067/1.44, allocations: 10.18 MB / 0.8128 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006469/1.447, allocations: 3.649 MB / 0.8163 GB, free: 27.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.93e-05/1.447, allocations: 3.812 kB / 0.8163 GB, free: 27.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.448, allocations: 0.7365 MB / 0.817 GB, free: 26.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/1.451, allocations: 437.2 kB / 0.8175 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.472, allocations: 8.551 MB / 0.8258 GB, free: 22.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003282/1.476, allocations: 3.27 MB / 0.829 GB, free: 21.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004701/1.481, allocations: 1.817 MB / 0.8308 GB, free: 21.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002443/1.483, allocations: 1.863 MB / 0.8326 GB, free: 20.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/1.483, allocations: 5.406 kB / 0.8326 GB, free: 20.08 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4323/1.915, allocations: 68.41 MB / 0.8994 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/1.916, allocations: 140.5 kB / 0.8995 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.624/6.539, allocations: 0 / 0.8995 GB, free: 100.5 MB / 0.5105 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