Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.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.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",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.002278/0.002278, allocations: 181.6 kB / 14.15 MB, free: 1.164 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.559/1.559, allocations: 221.3 MB / 236 MB, free: 2.941 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.0009048/0.000905, allocations: 96.03 kB / 287 MB, free: 244 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.2378/0.2378, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.337e-05, allocations: 0 / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1627, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.6474, allocations: 97.81 MB / 0.5973 GB, free: 7.445 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.6477, allocations: 75.95 kB / 0.5974 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1785/0.8262, allocations: 69.75 MB / 0.6655 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.8263, allocations: 0 / 0.6655 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001268/0.8264, allocations: 63.94 kB / 0.6656 GB, free: 0.9023 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.01022/0.8366, allocations: 3.048 MB / 0.6685 GB, free: 13.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.8367, allocations: 8.031 kB / 0.6685 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00304/0.8398, allocations: 0.7255 MB / 0.6693 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/0.8541, allocations: 3.287 MB / 0.6725 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006289/0.8604, allocations: 2.079 MB / 0.6745 GB, free: 7.629 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.8608, allocations: 271.1 kB / 0.6748 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/0.8628, allocations: 355.9 kB / 0.6751 GB, free: 7.016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02244/0.8853, allocations: 8.987 MB / 0.6839 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.8855, allocations: 19.81 kB / 0.6839 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/0.8871, allocations: 159.9 kB / 0.684 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001559/0.8887, allocations: 1.057 MB / 0.6851 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/0.9065, allocations: 8.513 MB / 0.6934 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4234/1.33, allocations: 29.21 MB / 0.7219 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005862/1.336, allocations: 3.043 MB / 0.7249 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/1.338, allocations: 0.9669 MB / 0.7258 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/1.349, allocations: 4.869 MB / 0.7306 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/1.349, allocations: 48.62 kB / 0.7306 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=126): time 6.011e-06/1.349, allocations: 0 / 0.7306 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.005795/1.355, allocations: 2.093 MB / 0.7327 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/1.355, allocations: 59.53 kB / 0.7327 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004593/1.36, allocations: 2.263 MB / 0.7349 GB, free: 122 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/1.36, allocations: 46.16 kB / 0.735 GB, free: 122 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002559/1.362, allocations: 2.64 MB / 0.7376 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009664/1.363, allocations: 499.9 kB / 0.738 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/1.364, allocations: 82.84 kB / 0.7381 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007215/1.364, allocations: 0.5519 MB / 0.7387 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/1.367, allocations: 1.309 MB / 0.7399 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003968/1.371, allocations: 4.058 MB / 0.7439 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/1.375, allocations: 2.358 MB / 0.7462 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-05/1.375, allocations: 26 kB / 0.7462 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.008483/1.383, allocations: 5.19 MB / 0.7513 GB, free: 116 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/1.383, allocations: 49.53 kB / 0.7513 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001514/1.384, allocations: 104.5 kB / 0.7514 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/1.384, allocations: 140.8 kB / 0.7516 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/1.387, allocations: 0.9673 MB / 0.7525 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001766/1.387, allocations: 198.6 kB / 0.7527 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/1.391, allocations: 0.6006 MB / 0.7533 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005298/1.391, allocations: 274.7 kB / 0.7536 GB, free: 115.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (538): * Single equations (assignments): 532 * Array equations: 6 * 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.0005218/1.392, allocations: 438.3 kB / 0.754 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/1.392, allocations: 210.4 kB / 0.7542 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005423/1.393, allocations: 276.8 kB / 0.7544 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/1.393, allocations: 15.97 kB / 0.7545 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.11e-05/1.393, allocations: 3.406 kB / 0.7545 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/1.393, allocations: 7.547 kB / 0.7545 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008908/1.402, allocations: 5.623 MB / 0.76 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.402, allocations: 9.812 kB / 0.76 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/1.402, allocations: 139.1 kB / 0.7601 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.402, allocations: 6.25 kB / 0.7601 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/1.402, allocations: 20.03 kB / 0.7601 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/1.402, allocations: 10.98 kB / 0.7601 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/1.402, allocations: 17.58 kB / 0.7601 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/1.404, allocations: 2.098 MB / 0.7622 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/1.405, allocations: 297.8 kB / 0.7625 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/1.405, allocations: 24.47 kB / 0.7625 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/1.406, allocations: 44.12 kB / 0.7625 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.406, allocations: 60.95 kB / 0.7626 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/1.406, allocations: 37.8 kB / 0.7626 GB, free: 112 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002043/1.408, allocations: 1.528 MB / 0.7641 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/1.408, allocations: 0 / 0.7641 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003512/1.412, allocations: 1.012 MB / 0.7651 GB, free: 111.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 6 * 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.002453/1.414, allocations: 3.865 MB / 0.7689 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004898/1.419, allocations: 3.075 MB / 0.7719 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.419, allocations: 0 / 0.7719 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007691/1.42, allocations: 0.7352 MB / 0.7726 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.421, allocations: 231.8 kB / 0.7728 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.437, allocations: 7.031 MB / 0.7797 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003434/1.44, allocations: 3.045 MB / 0.7827 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003421/1.444, allocations: 1.486 MB / 0.7841 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/1.446, allocations: 1.493 MB / 0.7856 GB, free: 102 MB / 0.5105 GB Notification: Performance of SimCode: time 1.863e-06/1.446, allocations: 0 / 0.7856 GB, free: 102 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0764/1.522, allocations: 49.18 MB / 0.8336 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.523, allocations: 148.8 kB / 0.8338 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.542/5.065, allocations: 3.938 kB / 0.8338 GB, free: 63.86 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat does not exist to compare? outputFormat=mat