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.001382/0.001382, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.492/1.492, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 95.17 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.817e-05, allocations: 224 / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1455, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.6122, allocations: 106.5 MB / 0.6058 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.6125, allocations: 75.97 kB / 0.6059 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2379/0.8504, allocations: 87.69 MB / 0.6915 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8505, allocations: 4 kB / 0.6915 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002775/0.8508, allocations: 88.11 kB / 0.6916 GB, free: 6.309 MB / 0.4948 GB 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.01445/0.8652, allocations: 3.967 MB / 0.6955 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.776e-05/0.8653, allocations: 12.03 kB / 0.6955 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003759/0.8691, allocations: 0.7709 MB / 0.6962 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.8818, allocations: 2.447 MB / 0.6986 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/0.896, allocations: 4.883 MB / 0.7034 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004394/0.8965, allocations: 332.7 kB / 0.7037 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002411/0.8989, allocations: 443.8 kB / 0.7041 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.374/1.273, allocations: 10.58 MB / 0.7145 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000605/1.274, allocations: 62.64 kB / 0.7145 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002219/1.276, allocations: 217.4 kB / 0.7147 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/1.278, allocations: 1.044 MB / 0.7158 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/1.298, allocations: 8.176 MB / 0.7237 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05175/1.35, allocations: 48.06 MB / 0.7707 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007072/1.357, allocations: 3.191 MB / 0.7738 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/1.359, allocations: 1.023 MB / 0.7748 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008202/1.367, allocations: 5.979 MB / 0.7806 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/1.367, allocations: 58.84 kB / 0.7807 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=148): time 4.659e-06/1.367, allocations: 0 / 0.7807 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.02176/1.389, allocations: 8.654 MB / 0.7891 GB, free: 78.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/1.389, allocations: 197.2 kB / 0.7893 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007511/1.396, allocations: 3.541 MB / 0.7928 GB, free: 77.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002717/1.397, allocations: 54.78 kB / 0.7928 GB, free: 77.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002578/1.399, allocations: 3.175 MB / 0.7959 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000717/1.4, allocations: 0.6361 MB / 0.7966 GB, free: 74.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005825/1.401, allocations: 122.2 kB / 0.7967 GB, free: 74.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007229/1.401, allocations: 0.5575 MB / 0.7972 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00396/1.405, allocations: 1.556 MB / 0.7987 GB, free: 73.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00691/1.412, allocations: 5.369 MB / 0.804 GB, free: 67.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00657/1.419, allocations: 2.89 MB / 0.8068 GB, free: 66.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002211/1.419, allocations: 42.09 kB / 0.8068 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01952/1.439, allocations: 6.677 MB / 0.8134 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002716/1.439, allocations: 63.38 kB / 0.8134 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002994/1.439, allocations: 135.2 kB / 0.8136 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/1.44, allocations: 200.8 kB / 0.8137 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007641/1.447, allocations: 1.441 MB / 0.8152 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004401/1.448, allocations: 270.1 kB / 0.8154 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008311/1.456, allocations: 374.5 kB / 0.8158 GB, free: 63.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/1.458, allocations: 374.8 kB / 0.8161 GB, free: 63.67 MB / 0.5105 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.001946/1.46, allocations: 0.587 MB / 0.8167 GB, free: 63.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.461, allocations: 353.4 kB / 0.817 GB, free: 62.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/1.465, allocations: 1.314 MB / 0.8183 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.377e-05/1.465, allocations: 14.06 kB / 0.8183 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/1.465, allocations: 3.906 kB / 0.8183 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/1.465, allocations: 7.031 kB / 0.8183 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/1.483, allocations: 5.832 MB / 0.824 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-05/1.483, allocations: 18.88 kB / 0.8241 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.485, allocations: 278.5 kB / 0.8243 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.315e-05/1.485, allocations: 28.03 kB / 0.8243 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/1.485, allocations: 56.38 kB / 0.8244 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.658e-05/1.485, allocations: 36.2 kB / 0.8244 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.515e-05/1.485, allocations: 28.88 kB / 0.8245 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004652/1.49, allocations: 5.277 MB / 0.8296 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.491, allocations: 424.1 kB / 0.83 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009442/1.492, allocations: 56.67 kB / 0.8301 GB, free: 54.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/1.494, allocations: 97.3 kB / 0.8302 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/1.495, allocations: 147.1 kB / 0.8303 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.495, allocations: 69.98 kB / 0.8304 GB, free: 54.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005112/1.5, allocations: 2.443 MB / 0.8328 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.72e-07/1.5, allocations: 0 / 0.8328 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006255/1.506, allocations: 0.9194 MB / 0.8337 GB, free: 51.73 MB / 0.5105 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.00537/1.511, allocations: 10.18 MB / 0.8436 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005875/1.517, allocations: 3.645 MB / 0.8472 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/1.517, allocations: 0 / 0.8472 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000877/1.518, allocations: 0.7388 MB / 0.8479 GB, free: 37.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/1.521, allocations: 441.9 kB / 0.8483 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02333/1.544, allocations: 8.522 MB / 0.8566 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004604/1.549, allocations: 3.257 MB / 0.8598 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005013/1.554, allocations: 1.83 MB / 0.8616 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002749/1.557, allocations: 1.856 MB / 0.8634 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.873e-06/1.557, allocations: 0 / 0.8634 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4336/1.991, allocations: 68.2 MB / 0.93 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/1.991, allocations: 145.6 kB / 0.9301 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.536/6.527, allocations: 0 / 0.9301 GB, free: 125.3 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