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.001162/0.001162, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 225.6 MB / 234.8 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008076/0.0008077, allocations: 99.91 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 45.15 MB / 383.8 MB, free: 216 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.471e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4253/0.5394, allocations: 98.2 MB / 0.6004 GB, free: 4.406 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.5397, allocations: 75.53 kB / 0.6004 GB, free: 4.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1718/0.7115, allocations: 68.34 MB / 0.6672 GB, free: 8.184 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7116, allocations: 3.938 kB / 0.6672 GB, free: 8.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000176/0.7118, allocations: 64 kB / 0.6672 GB, free: 8.117 MB / 458.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.009968/0.7217, allocations: 3.045 MB / 0.6702 GB, free: 5.016 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.7218, allocations: 8.031 kB / 0.6702 GB, free: 5.008 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.7365, allocations: 3.286 MB / 0.6734 GB, free: 1.711 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/0.7421, allocations: 2.075 MB / 0.6754 GB, free: 15.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.7424, allocations: 120 kB / 0.6756 GB, free: 15.47 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/0.7447, allocations: 204 kB / 0.6758 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01304/0.7578, allocations: 6.41 MB / 0.682 GB, free: 8.859 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/0.7801, allocations: 8.484 MB / 0.6903 GB, free: 8 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.7804, allocations: 19.86 kB / 0.6903 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002022/0.7824, allocations: 12 kB / 0.6903 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001591/0.784, allocations: 1.058 MB / 0.6914 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04371/0.8277, allocations: 26.64 MB / 0.7174 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.8313, allocations: 2.687 MB / 0.72 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.8327, allocations: 0.8844 MB / 0.7209 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/0.8342, allocations: 1.62 MB / 0.7225 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.8343, allocations: 43.88 kB / 0.7225 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 4.698e-06/0.8343, allocations: 0 / 0.7225 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162): time 0.005092/0.8394, allocations: 2.13 MB / 0.7246 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.8395, allocations: 64.72 kB / 0.7246 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004717/0.8442, allocations: 2.059 MB / 0.7266 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.8444, allocations: 29.7 kB / 0.7267 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002299/0.8467, allocations: 2.637 MB / 0.7292 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007502/0.8475, allocations: 0.5975 MB / 0.7298 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.8478, allocations: 0 / 0.7298 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005561/0.8484, allocations: 0.5603 MB / 0.7304 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002271/0.8507, allocations: 1.345 MB / 0.7317 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004325/0.855, allocations: 4.329 MB / 0.7359 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/0.8588, allocations: 2.482 MB / 0.7383 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.623e-05/0.859, allocations: 28 kB / 0.7384 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=642) (initialization): time 0.00995/0.8689, allocations: 5 MB / 0.7433 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.8691, allocations: 52 kB / 0.7433 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002061/0.8693, allocations: 112 kB / 0.7434 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.8696, allocations: 156 kB / 0.7436 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/0.8732, allocations: 1.072 MB / 0.7446 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001972/0.8734, allocations: 211.2 kB / 0.7448 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/0.877, allocations: 0.5368 MB / 0.7453 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007011/0.8777, allocations: 308 kB / 0.7456 GB, free: 4.551 MB / 0.5261 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.000955/0.8787, allocations: 371.2 kB / 0.746 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003293/0.882, allocations: 1.779 MB / 0.7477 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000465/0.8825, allocations: 225 kB / 0.7479 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/0.8859, allocations: 2.041 MB / 0.7499 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/0.886, allocations: 20 kB / 0.7499 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.886, allocations: 0 / 0.7499 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.886, allocations: 7.969 kB / 0.75 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3244/1.21, allocations: 6.039 MB / 0.7558 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/1.21, allocations: 9.156 kB / 0.7559 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/1.211, allocations: 205.4 kB / 0.7561 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.189e-05/1.211, allocations: 15.03 kB / 0.7561 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.923e-05/1.211, allocations: 19.23 kB / 0.7561 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-05/1.211, allocations: 19.64 kB / 0.7561 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.645e-05/1.211, allocations: 18.12 kB / 0.7561 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/1.214, allocations: 2.973 MB / 0.759 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005236/1.215, allocations: 299.3 kB / 0.7593 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/1.215, allocations: 14.95 kB / 0.7593 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/1.216, allocations: 31.59 kB / 0.7594 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/1.216, allocations: 102.9 kB / 0.7595 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.216, allocations: 56.11 kB / 0.7595 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0024/1.219, allocations: 1.339 MB / 0.7608 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/1.219, allocations: 0 / 0.7608 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003909/1.222, allocations: 0.9268 MB / 0.7617 GB, free: 148.4 MB / 0.5261 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.003539/1.226, allocations: 6.097 MB / 0.7677 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00554/1.232, allocations: 3.23 MB / 0.7708 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.278e-05/1.232, allocations: 3.438 kB / 0.7708 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/1.233, allocations: 0.9211 MB / 0.7717 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.234, allocations: 176.3 kB / 0.7719 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.251, allocations: 7.451 MB / 0.7792 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002835/1.253, allocations: 3.054 MB / 0.7822 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003537/1.257, allocations: 1.716 MB / 0.7838 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/1.259, allocations: 1.534 MB / 0.7853 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/1.259, allocations: 0 / 0.7853 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07718/1.336, allocations: 47.95 MB / 0.8322 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/1.336, allocations: 139.9 kB / 0.8323 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.29/4.627, allocations: 0 / 0.8323 GB, free: 120.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