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.001129/0.001129, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000834/0.000834, allocations: 87.11 kB / 292.1 MB, free: 6.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1709/0.1709, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.759e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08761, allocations: 63.25 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3365/0.4241, allocations: 98.88 MB / 0.608 GB, free: 11.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.4244, allocations: 71.41 kB / 0.6081 GB, free: 11.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1599/0.5843, allocations: 69.82 MB / 0.6763 GB, free: 13.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5844, allocations: 0 / 0.6763 GB, free: 13.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001128/0.5845, allocations: 60 kB / 0.6763 GB, free: 13.21 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.006079/0.5906, allocations: 3.056 MB / 0.6793 GB, free: 10.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5906, allocations: 15.97 kB / 0.6793 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001425/0.5921, allocations: 0.7294 MB / 0.68 GB, free: 9.348 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/0.6048, allocations: 3.278 MB / 0.6832 GB, free: 6.059 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004876/0.6097, allocations: 2.071 MB / 0.6853 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.61, allocations: 275.1 kB / 0.6855 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.6113, allocations: 359.9 kB / 0.6859 GB, free: 3.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.6283, allocations: 8.994 MB / 0.6947 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.6285, allocations: 27.69 kB / 0.6947 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006415/0.6291, allocations: 159.9 kB / 0.6948 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001183/0.6303, allocations: 1.049 MB / 0.6959 GB, free: 8.707 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/0.6458, allocations: 8.513 MB / 0.7042 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03607/0.6819, allocations: 29.21 MB / 0.7327 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/0.6865, allocations: 3.029 MB / 0.7357 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.6877, allocations: 0.9688 MB / 0.7366 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007816/0.6955, allocations: 4.876 MB / 0.7414 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.6956, allocations: 43.34 kB / 0.7414 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=126): time 4.558e-06/0.6956, allocations: 0 / 0.7414 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126): time 0.004743/0.7004, allocations: 2.09 MB / 0.7434 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.7004, allocations: 60.19 kB / 0.7435 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.7035, allocations: 2.271 MB / 0.7457 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.7035, allocations: 37.7 kB / 0.7458 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.705, allocations: 2.649 MB / 0.7483 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000375/0.7054, allocations: 493.7 kB / 0.7488 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.7056, allocations: 84 kB / 0.7489 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003183/0.7059, allocations: 0.5514 MB / 0.7494 GB, free: 412 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2242/0.9301, allocations: 1.307 MB / 0.7507 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/0.9333, allocations: 4.048 MB / 0.7547 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.9362, allocations: 2.36 MB / 0.757 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-05/0.9363, allocations: 27.84 kB / 0.757 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.007567/0.9439, allocations: 5.187 MB / 0.7621 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-05/0.944, allocations: 49.88 kB / 0.7621 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/0.9441, allocations: 98.34 kB / 0.7622 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.9443, allocations: 141.9 kB / 0.7623 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.9471, allocations: 0.9694 MB / 0.7633 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001722/0.9472, allocations: 192.5 kB / 0.7635 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/0.9498, allocations: 0.6021 MB / 0.7641 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00035/0.9502, allocations: 277.8 kB / 0.7643 GB, free: 145.7 MB / 0.5261 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.0004365/0.9506, allocations: 440.4 kB / 0.7647 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.9508, allocations: 218.7 kB / 0.7649 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.9514, allocations: 272.9 kB / 0.7652 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/0.9514, allocations: 19.11 kB / 0.7652 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.9514, allocations: 5.453 kB / 0.7652 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.9515, allocations: 3.75 kB / 0.7652 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008474/0.9599, allocations: 5.608 MB / 0.7707 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.96, allocations: 11.34 kB / 0.7707 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.9605, allocations: 132.4 kB / 0.7708 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.9605, allocations: 8.406 kB / 0.7709 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.9606, allocations: 33.44 kB / 0.7709 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.9606, allocations: 16.12 kB / 0.7709 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.9606, allocations: 4.344 kB / 0.7709 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.9626, allocations: 2.106 MB / 0.773 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/0.9631, allocations: 304.7 kB / 0.7733 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.9633, allocations: 20.73 kB / 0.7733 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.9638, allocations: 37.23 kB / 0.7733 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.964, allocations: 65.58 kB / 0.7734 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.328e-05/0.964, allocations: 41.77 kB / 0.7734 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002045/0.9661, allocations: 1.523 MB / 0.7749 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.142e-06/0.9661, allocations: 0 / 0.7749 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003186/0.9693, allocations: 1.016 MB / 0.7759 GB, free: 143.4 MB / 0.5261 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.001955/0.9712, allocations: 3.869 MB / 0.7797 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003464/0.9747, allocations: 3.076 MB / 0.7827 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.9747, allocations: 0 / 0.7827 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000628/0.9754, allocations: 0.7358 MB / 0.7834 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/0.9761, allocations: 230 kB / 0.7836 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.9866, allocations: 7.02 MB / 0.7905 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.9891, allocations: 3.047 MB / 0.7934 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003009/0.9921, allocations: 1.48 MB / 0.7949 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/0.9935, allocations: 1.494 MB / 0.7963 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.373e-06/0.9935, allocations: 0 / 0.7963 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05762/1.051, allocations: 49.18 MB / 0.8444 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/1.051, allocations: 153.7 kB / 0.8445 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/3.917, allocations: 0 / 0.8445 GB, free: 106.3 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