Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",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.001564/0.001564, 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.411/1.411, 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.0008136/0.0008135, allocations: 83.75 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.2038/0.2038, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.661e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1522, allocations: 61.9 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4924/0.6447, allocations: 103 MB / 0.6024 GB, free: 2.246 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.645, allocations: 71.97 kB / 0.6025 GB, free: 2.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1599/0.8049, allocations: 59.48 MB / 0.6605 GB, free: 6.242 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.068e-06/0.8049, allocations: 0 / 0.6605 GB, free: 6.242 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001183/0.8051, allocations: 44 kB / 0.6606 GB, free: 6.199 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.008214/0.8133, allocations: 2.607 MB / 0.6631 GB, free: 3.539 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.8134, allocations: 8.031 kB / 0.6631 GB, free: 3.531 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001375/0.8147, allocations: 498.3 kB / 0.6636 GB, free: 3.035 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008605/0.8234, allocations: 1.974 MB / 0.6655 GB, free: 1.055 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009457/0.8329, allocations: 3.216 MB / 0.6687 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.8331, allocations: 188.8 kB / 0.6689 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008225/0.8339, allocations: 239.9 kB / 0.6691 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01328/0.8472, allocations: 6.819 MB / 0.6757 GB, free: 5.727 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.8474, allocations: 55.45 kB / 0.6758 GB, free: 5.672 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004429/0.8479, allocations: 123.9 kB / 0.6759 GB, free: 5.551 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001065/0.8489, allocations: 0.715 MB / 0.6766 GB, free: 4.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.8603, allocations: 5.752 MB / 0.6822 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4289/1.289, allocations: 33.67 MB / 0.7151 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004906/1.294, allocations: 2.085 MB / 0.7171 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/1.296, allocations: 1.019 MB / 0.7181 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/1.296, allocations: 175 kB / 0.7183 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.296, allocations: 48.48 kB / 0.7184 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 3.858e-06/1.296, allocations: 0 / 0.7184 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112): time 0.01395/1.31, allocations: 5.107 MB / 0.7233 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/1.31, allocations: 141.1 kB / 0.7235 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004834/1.315, allocations: 2.552 MB / 0.726 GB, free: 116 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.315, allocations: 41.06 kB / 0.726 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/1.316, allocations: 2.107 MB / 0.7281 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000479/1.317, allocations: 459.2 kB / 0.7285 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/1.317, allocations: 83.34 kB / 0.7286 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003131/1.317, allocations: 0.4885 MB / 0.7291 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/1.32, allocations: 1.356 MB / 0.7304 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/1.324, allocations: 4.202 MB / 0.7345 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/1.329, allocations: 2.377 MB / 0.7368 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/1.329, allocations: 29.91 kB / 0.7368 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01102/1.34, allocations: 5.361 MB / 0.7421 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.515e-05/1.34, allocations: 49.47 kB / 0.7421 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/1.34, allocations: 105.5 kB / 0.7422 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/1.341, allocations: 147.4 kB / 0.7424 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/1.344, allocations: 1.081 MB / 0.7434 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001286/1.344, allocations: 202.3 kB / 0.7436 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/1.348, allocations: 291.6 kB / 0.7439 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003601/1.348, allocations: 286.8 kB / 0.7442 GB, free: 110.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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.0004958/1.348, allocations: 450.2 kB / 0.7446 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003842/1.349, allocations: 236 kB / 0.7448 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/1.351, allocations: 1.217 MB / 0.746 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/1.351, allocations: 15.45 kB / 0.746 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/1.351, allocations: 0 / 0.746 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.351, allocations: 10.02 kB / 0.746 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/1.357, allocations: 4.392 MB / 0.7503 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.357, allocations: 8.188 kB / 0.7503 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009421/1.358, allocations: 211.1 kB / 0.7505 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.758e-05/1.358, allocations: 16.95 kB / 0.7505 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.275e-05/1.358, allocations: 25.34 kB / 0.7506 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/1.359, allocations: 14.16 kB / 0.7506 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.359, allocations: 7 kB / 0.7506 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/1.361, allocations: 2.566 MB / 0.7531 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006228/1.362, allocations: 318.3 kB / 0.7534 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/1.362, allocations: 22.58 kB / 0.7534 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/1.363, allocations: 72.06 kB / 0.7535 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.363, allocations: 67.47 kB / 0.7536 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-05/1.363, allocations: 37.98 kB / 0.7536 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002569/1.366, allocations: 1.774 MB / 0.7553 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/1.366, allocations: 5.641 kB / 0.7553 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004395/1.37, allocations: 0.6392 MB / 0.7559 GB, free: 106.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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.002797/1.373, allocations: 4.356 MB / 0.7602 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00483/1.378, allocations: 3.174 MB / 0.7633 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.378, allocations: 3.906 kB / 0.7633 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/1.379, allocations: 0.7747 MB / 0.7641 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/1.38, allocations: 246.8 kB / 0.7643 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/1.39, allocations: 5.46 MB / 0.7696 GB, free: 99.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/1.392, allocations: 2.261 MB / 0.7718 GB, free: 98.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00327/1.395, allocations: 1.472 MB / 0.7733 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.397, allocations: 1.077 MB / 0.7743 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of SimCode: time 2.084e-06/1.397, allocations: 0 / 0.7743 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07762/1.474, allocations: 48.52 MB / 0.8217 GB, free: 63.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/1.475, allocations: 152.7 kB / 0.8219 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.676/5.151, allocations: 0 / 0.8219 GB, free: 62.82 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat