Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 199.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008873/0.0008872, allocations: 104 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3879/0.3879, allocations: 45.22 MB / 394.6 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.0002771, allocations: 4 kB / 468.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4392, allocations: 63.25 MB / 0.5193 GB, free: 43.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.5843, allocations: 98.94 MB / 0.6159 GB, free: 6.668 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.5846, allocations: 83.92 kB / 0.616 GB, free: 6.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1739/0.7586, allocations: 69.75 MB / 0.6841 GB, free: 260 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.781e-06/0.7587, allocations: 4 kB / 0.6841 GB, free: 256 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001751/0.7588, allocations: 64 kB / 0.6842 GB, free: 192 kB / 490.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.01611/0.775, allocations: 3.146 MB / 0.6872 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 9.654e-05/0.7751, allocations: 12.03 kB / 0.6872 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005243/0.7803, allocations: 0.7255 MB / 0.6879 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/0.7952, allocations: 3.286 MB / 0.6912 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007891/0.8032, allocations: 2.079 MB / 0.6932 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/0.8036, allocations: 275.1 kB / 0.6934 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002501/0.8061, allocations: 351.9 kB / 0.6938 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3649/1.171, allocations: 9.066 MB / 0.7026 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/1.171, allocations: 17.62 kB / 0.7026 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006203/1.172, allocations: 160.9 kB / 0.7028 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/1.173, allocations: 1.05 MB / 0.7038 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/1.191, allocations: 8.642 MB / 0.7123 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05283/1.244, allocations: 29.22 MB / 0.7408 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006402/1.25, allocations: 3.045 MB / 0.7438 GB, free: 88.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01281/1.263, allocations: 4.88 MB / 0.7485 GB, free: 85.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/1.263, allocations: 41.69 kB / 0.7486 GB, free: 85.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=126): time 5.52e-06/1.263, allocations: 1.875 kB / 0.7486 GB, free: 85.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126): time 0.007495/1.271, allocations: 3.244 MB / 0.7518 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/1.271, allocations: 59.75 kB / 0.7518 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006284/1.277, allocations: 2.29 MB / 0.754 GB, free: 83.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/1.277, allocations: 36.27 kB / 0.7541 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002513/1.28, allocations: 2.646 MB / 0.7567 GB, free: 81.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000798/1.28, allocations: 498.9 kB / 0.7571 GB, free: 81.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/1.281, allocations: 86.38 kB / 0.7572 GB, free: 81.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007515/1.282, allocations: 0.5438 MB / 0.7578 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/1.285, allocations: 1.336 MB / 0.7591 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004898/1.29, allocations: 4.087 MB / 0.7631 GB, free: 76.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003997/1.294, allocations: 2.35 MB / 0.7653 GB, free: 75.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001579/1.294, allocations: 31.36 kB / 0.7654 GB, free: 75.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.009865/1.304, allocations: 5.24 MB / 0.7705 GB, free: 73.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.304, allocations: 45.94 kB / 0.7705 GB, free: 73.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002096/1.304, allocations: 97.16 kB / 0.7706 GB, free: 73.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002285/1.305, allocations: 143.6 kB / 0.7708 GB, free: 73.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/1.308, allocations: 0.9729 MB / 0.7717 GB, free: 73.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001944/1.308, allocations: 190.4 kB / 0.7719 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004602/1.312, allocations: 0.6058 MB / 0.7725 GB, free: 73.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007868/1.313, allocations: 281.5 kB / 0.7728 GB, free: 72.98 MB / 0.4948 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 () * Number of clocked 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.00406/1.317, allocations: 1.893 MB / 0.7746 GB, free: 72.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004877/1.318, allocations: 211 kB / 0.7748 GB, free: 72.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/1.319, allocations: 276 kB / 0.7751 GB, free: 71.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-05/1.319, allocations: 14.75 kB / 0.7751 GB, free: 71.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/1.319, allocations: 0 / 0.7751 GB, free: 71.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/1.319, allocations: 3.891 kB / 0.7751 GB, free: 71.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/1.332, allocations: 5.633 MB / 0.7806 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.332, allocations: 3.625 kB / 0.7806 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/1.333, allocations: 136.1 kB / 0.7807 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.04e-05/1.333, allocations: 9.844 kB / 0.7807 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/1.333, allocations: 20.28 kB / 0.7808 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/1.333, allocations: 11.78 kB / 0.7808 GB, free: 69.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.333, allocations: 3.844 kB / 0.7808 GB, free: 69.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/1.335, allocations: 2.121 MB / 0.7828 GB, free: 68.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008075/1.336, allocations: 298 kB / 0.7831 GB, free: 68.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005363/1.336, allocations: 23.75 kB / 0.7831 GB, free: 68.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.337, allocations: 38.17 kB / 0.7832 GB, free: 68.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/1.338, allocations: 66.02 kB / 0.7832 GB, free: 68.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-05/1.338, allocations: 42.31 kB / 0.7833 GB, free: 68.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003478/1.341, allocations: 1.538 MB / 0.7848 GB, free: 67.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.341, allocations: 3.938 kB / 0.7848 GB, free: 67.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005924/1.347, allocations: 1.016 MB / 0.7858 GB, free: 67.33 MB / 0.4948 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 () * Number of clocked 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.00419/1.351, allocations: 3.875 MB / 0.7896 GB, free: 64.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005239/1.357, allocations: 3.108 MB / 0.7926 GB, free: 63.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.357, allocations: 0 / 0.7926 GB, free: 63.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008087/1.357, allocations: 0.7407 MB / 0.7933 GB, free: 63.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.359, allocations: 240.3 kB / 0.7936 GB, free: 63.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06493/1.424, allocations: 88.56 MB / 0.88 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005096/1.429, allocations: 3.046 MB / 0.883 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003612/1.433, allocations: 1.48 MB / 0.8845 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/1.435, allocations: 1.49 MB / 0.8859 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/1.435, allocations: 0 / 0.8859 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3854/1.821, allocations: 48.51 MB / 0.9333 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/1.821, allocations: 175 kB / 0.9335 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.487/5.308, allocations: 7.75 kB / 0.9335 GB, free: 128.1 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat does not exist to compare? outputFormat=mat