Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.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.Spring,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring",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.001755/0.001755, allocations: 179.6 kB / 17.06 MB, free: 5.094 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.407/1.407, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009719/0.0009718, allocations: 97.2 kB / 292.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3734/0.3734, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003281, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3447, allocations: 61.9 MB / 0.5096 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.525, allocations: 106.6 MB / 0.6137 GB, free: 4.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.5254, allocations: 87.92 kB / 0.6138 GB, free: 4.398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5214/1.047, allocations: 87.64 MB / 0.6994 GB, free: 95.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.185e-06/1.047, allocations: 0 / 0.6994 GB, free: 95.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002739/1.047, allocations: 82.12 kB / 0.6995 GB, free: 95.97 MB / 490.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.01384/1.061, allocations: 4.199 MB / 0.7036 GB, free: 94.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/1.061, allocations: 9.5 kB / 0.7036 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003695/1.065, allocations: 0.7791 MB / 0.7043 GB, free: 94.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/1.077, allocations: 2.448 MB / 0.7067 GB, free: 93.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01516/1.092, allocations: 4.902 MB / 0.7115 GB, free: 93.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005911/1.093, allocations: 338 kB / 0.7118 GB, free: 93.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002544/1.095, allocations: 444.1 kB / 0.7123 GB, free: 93.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02907/1.125, allocations: 10.74 MB / 0.7227 GB, free: 89.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005668/1.125, allocations: 65.25 kB / 0.7228 GB, free: 89.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002493/1.128, allocations: 215.3 kB / 0.723 GB, free: 89.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00202/1.13, allocations: 1.045 MB / 0.724 GB, free: 88.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01882/1.149, allocations: 8.436 MB / 0.7323 GB, free: 86.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04717/1.196, allocations: 48.04 MB / 0.7792 GB, free: 48.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006853/1.203, allocations: 3.221 MB / 0.7823 GB, free: 47.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00888/1.212, allocations: 5.997 MB / 0.7882 GB, free: 43.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/1.212, allocations: 46.41 kB / 0.7882 GB, free: 43.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 5.129e-06/1.212, allocations: 3.891 kB / 0.7882 GB, free: 43.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.02373/1.235, allocations: 9.67 MB / 0.7977 GB, free: 38.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/1.236, allocations: 200.1 kB / 0.7979 GB, free: 38.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006159/1.242, allocations: 3.641 MB / 0.8014 GB, free: 35.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/1.242, allocations: 49.7 kB / 0.8015 GB, free: 35.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/1.244, allocations: 3.173 MB / 0.8046 GB, free: 32.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005919/1.244, allocations: 0.6457 MB / 0.8052 GB, free: 31.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/1.245, allocations: 124 kB / 0.8053 GB, free: 31.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003433/1.245, allocations: 0.5581 MB / 0.8059 GB, free: 31.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/1.248, allocations: 1.654 MB / 0.8075 GB, free: 29.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004359/1.252, allocations: 5.481 MB / 0.8128 GB, free: 22.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/1.257, allocations: 2.949 MB / 0.8157 GB, free: 20.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001653/1.257, allocations: 40 kB / 0.8158 GB, free: 20.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01191/1.269, allocations: 6.881 MB / 0.8225 GB, free: 14.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/1.269, allocations: 60 kB / 0.8225 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002355/1.269, allocations: 136.2 kB / 0.8227 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/1.27, allocations: 200.8 kB / 0.8229 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004256/1.274, allocations: 1.45 MB / 0.8243 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001851/1.274, allocations: 268.4 kB / 0.8245 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004571/1.279, allocations: 387.9 kB / 0.8249 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007033/1.279, allocations: 371.8 kB / 0.8253 GB, free: 11.45 MB / 490.7 MB 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.0036/1.283, allocations: 2.035 MB / 0.8272 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007106/1.284, allocations: 347.5 kB / 0.8276 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/1.286, allocations: 1.345 MB / 0.8289 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/1.286, allocations: 20 kB / 0.8289 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.286, allocations: 0 / 0.8289 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/1.286, allocations: 11.97 kB / 0.8289 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.297, allocations: 5.857 MB / 0.8346 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.286e-05/1.297, allocations: 16 kB / 0.8347 GB, free: 1.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.298, allocations: 283.5 kB / 0.8349 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-05/1.298, allocations: 28 kB / 0.8349 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.299, allocations: 47.95 kB / 0.835 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.15e-05/1.299, allocations: 35.86 kB / 0.835 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/1.299, allocations: 32.3 kB / 0.8351 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005777/1.304, allocations: 5.32 MB / 0.8403 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/1.306, allocations: 428.4 kB / 0.8407 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008835/1.307, allocations: 55.5 kB / 0.8407 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.309, allocations: 95.92 kB / 0.8408 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/1.309, allocations: 147.4 kB / 0.8409 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.309, allocations: 68 kB / 0.841 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006555/1.316, allocations: 2.539 MB / 0.8435 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.316, allocations: 0 / 0.8435 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006937/1.323, allocations: 0.9218 MB / 0.8444 GB, free: 6.984 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.009701/1.332, allocations: 10.22 MB / 0.8544 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009194/1.342, allocations: 3.764 MB / 0.8581 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.439e-05/1.342, allocations: 5.688 kB / 0.8581 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/1.343, allocations: 0.7422 MB / 0.8588 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/1.347, allocations: 438.9 kB / 0.8592 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3499/1.696, allocations: 113.4 MB / 0.97 GB, free: 36.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00615/1.703, allocations: 3.27 MB / 0.9732 GB, free: 36.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005367/1.708, allocations: 1.819 MB / 0.9749 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002916/1.711, allocations: 1.861 MB / 0.9768 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/1.711, allocations: 0 / 0.9768 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/1.835, allocations: 67.12 MB / 1.042 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/1.836, allocations: 168.2 kB / 1.042 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.423/6.259, allocations: 0 / 1.042 GB, free: 24.16 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat