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.001235/0.001235, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0009987/0.0009987, allocations: 93.86 kB / 281.6 MB, free: 5.32 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.2031/0.2031, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.657e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1462, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5206/0.6669, allocations: 97.15 MB / 0.5896 GB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.6672, allocations: 71.97 kB / 0.5897 GB, free: 15.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1709/0.8381, allocations: 68.27 MB / 0.6564 GB, free: 10.19 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.8382, allocations: 0 / 0.6564 GB, free: 10.19 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001379/0.8384, allocations: 67.94 kB / 0.6564 GB, free: 10.12 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.009453/0.8478, allocations: 3.041 MB / 0.6594 GB, free: 7.027 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.8479, allocations: 15.98 kB / 0.6594 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/0.8626, allocations: 3.287 MB / 0.6626 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006269/0.8689, allocations: 2.075 MB / 0.6647 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.8692, allocations: 116 kB / 0.6648 GB, free: 1.477 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/0.8713, allocations: 204 kB / 0.665 GB, free: 1.277 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01271/0.884, allocations: 6.406 MB / 0.6712 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/0.9054, allocations: 8.484 MB / 0.6795 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.9055, allocations: 15.88 kB / 0.6795 GB, free: 2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006019/0.9062, allocations: 12 kB / 0.6795 GB, free: 1.988 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001412/0.9076, allocations: 1.058 MB / 0.6806 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04523/0.9528, allocations: 26.65 MB / 0.7066 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/0.9564, allocations: 2.686 MB / 0.7092 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.9577, allocations: 0.8793 MB / 0.7101 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3135/1.271, allocations: 1.624 MB / 0.7117 GB, free: 146 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/1.271, allocations: 46.3 kB / 0.7117 GB, free: 146 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 9.277e-06/1.271, allocations: 0.8438 kB / 0.7117 GB, free: 146 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162): time 0.008203/1.28, allocations: 2.127 MB / 0.7138 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/1.28, allocations: 67.22 kB / 0.7138 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005664/1.285, allocations: 2.059 MB / 0.7158 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002615/1.286, allocations: 26.67 kB / 0.7159 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002357/1.288, allocations: 2.643 MB / 0.7185 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/1.289, allocations: 0.5953 MB / 0.719 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/1.289, allocations: 1.125 kB / 0.719 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006358/1.29, allocations: 0.5576 MB / 0.7196 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/1.293, allocations: 1.35 MB / 0.7209 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006317/1.3, allocations: 4.324 MB / 0.7251 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007279/1.307, allocations: 2.472 MB / 0.7275 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001753/1.307, allocations: 31.38 kB / 0.7276 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=642) (initialization): time 0.01663/1.324, allocations: 5.008 MB / 0.7325 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002585/1.324, allocations: 50.41 kB / 0.7325 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003915/1.325, allocations: 107.6 kB / 0.7326 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/1.325, allocations: 159.8 kB / 0.7328 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005562/1.331, allocations: 1.075 MB / 0.7338 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004119/1.331, allocations: 207 kB / 0.734 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005071/1.336, allocations: 0.5384 MB / 0.7345 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.338, allocations: 308.7 kB / 0.7348 GB, free: 138.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 (594): * Single equations (assignments): 588 * 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.001502/1.339, allocations: 364.2 kB / 0.7352 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00374/1.343, allocations: 1.778 MB / 0.7369 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005285/1.343, allocations: 222.2 kB / 0.7371 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/1.348, allocations: 2.04 MB / 0.7391 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.107e-05/1.348, allocations: 18.44 kB / 0.7391 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.348, allocations: 0 / 0.7391 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/1.348, allocations: 10.7 kB / 0.7391 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.361, allocations: 6.051 MB / 0.7451 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/1.361, allocations: 14.03 kB / 0.7451 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.362, allocations: 199.3 kB / 0.7453 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.989e-05/1.362, allocations: 17.78 kB / 0.7453 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/1.363, allocations: 18.19 kB / 0.7453 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.061e-05/1.363, allocations: 26.11 kB / 0.7453 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.766e-05/1.363, allocations: 13.81 kB / 0.7453 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/1.367, allocations: 2.972 MB / 0.7482 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.368, allocations: 305.1 kB / 0.7485 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007642/1.369, allocations: 14.91 kB / 0.7485 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.371, allocations: 31.3 kB / 0.7486 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/1.371, allocations: 97.39 kB / 0.7487 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/1.371, allocations: 62.91 kB / 0.7487 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002779/1.374, allocations: 1.339 MB / 0.75 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.5e-07/1.374, allocations: 0 / 0.75 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007318/1.381, allocations: 0.9254 MB / 0.7509 GB, free: 134.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * 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.005531/1.387, allocations: 6.098 MB / 0.7569 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005703/1.393, allocations: 3.235 MB / 0.76 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.393, allocations: 0 / 0.76 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/1.394, allocations: 0.923 MB / 0.7609 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.396, allocations: 161.5 kB / 0.7611 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/1.426, allocations: 7.45 MB / 0.7684 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005452/1.431, allocations: 3.049 MB / 0.7714 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007159/1.439, allocations: 1.721 MB / 0.773 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003955/1.443, allocations: 1.525 MB / 0.7745 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/1.443, allocations: 0 / 0.7745 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09341/1.536, allocations: 47.96 MB / 0.8214 GB, free: 85.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/1.536, allocations: 134.5 kB / 0.8215 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.49/5.026, allocations: 0 / 0.8215 GB, free: 85.57 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