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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009446/0.0009448, allocations: 100.4 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 194 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246 MB, free: 10.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2585/0.2585, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003903, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 63.47 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02603/0.1756, allocations: 25.9 MB / 0.4956 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.1917, allocations: 5.388 MB / 0.5009 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007838/0.1997, allocations: 119.8 kB / 0.501 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005003/0.2047, allocations: 1.248 MB / 0.5022 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.2148, allocations: 3.541 MB / 0.5057 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.2161, allocations: 79.91 kB / 0.5058 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2894/0.5055, allocations: 3.047 MB / 0.5087 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004978/0.5105, allocations: 2.15 MB / 0.5108 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.5128, allocations: 0.8913 MB / 0.5117 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002997/0.5158, allocations: 1.382 MB / 0.5131 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006843/0.5165, allocations: 115.6 kB / 0.5132 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.5181, allocations: 385.9 kB / 0.5135 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001731/0.5198, allocations: 1.281 MB / 0.5148 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009096/0.5207, allocations: 0.6861 MB / 0.5155 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006126/0.5269, allocations: 4.163 MB / 0.5195 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.5269, allocations: 0.9375 kB / 0.5195 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.5269, allocations: 1.031 kB / 0.5195 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000266/0.5272, allocations: 0 / 0.5195 GB, free: 10.77 MB / 382.1 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.007467/0.5347, allocations: 2.983 MB / 0.5224 GB, free: 9.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5347, allocations: 9.062 kB / 0.5225 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001905/0.5366, allocations: 0.663 MB / 0.5231 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009345/0.546, allocations: 3.026 MB / 0.5261 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00404/0.5501, allocations: 1.518 MB / 0.5275 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.5503, allocations: 171 kB / 0.5277 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009764/0.5512, allocations: 223.1 kB / 0.5279 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.5662, allocations: 9.454 MB / 0.5371 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.797e-05/0.5663, allocations: 19.28 kB / 0.5372 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003583/0.5667, allocations: 108 kB / 0.5373 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003173/0.5699, allocations: 2.369 MB / 0.5396 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01688/0.5868, allocations: 8.637 MB / 0.548 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04451/0.6313, allocations: 29.3 MB / 0.5766 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004899/0.6363, allocations: 3.041 MB / 0.5796 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.6377, allocations: 0.9785 MB / 0.5805 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00856/0.6463, allocations: 4.845 MB / 0.5853 GB, free: 8.965 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.6464, allocations: 39.22 kB / 0.5853 GB, free: 8.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.788e-06/0.6464, allocations: 0 / 0.5853 GB, free: 8.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.005841/0.6522, allocations: 2.728 MB / 0.588 GB, free: 6.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.6523, allocations: 56.06 kB / 0.588 GB, free: 6.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.6563, allocations: 2.561 MB / 0.5905 GB, free: 3.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.6565, allocations: 36.36 kB / 0.5906 GB, free: 3.492 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001749/0.6582, allocations: 2.644 MB / 0.5932 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000487/0.6587, allocations: 498 kB / 0.5936 GB, free: 384 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.6589, allocations: 88 kB / 0.5937 GB, free: 296 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003361/0.6592, allocations: 0.5476 MB / 0.5942 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.6612, allocations: 1.336 MB / 0.5956 GB, free: 14.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004614/0.6658, allocations: 4.104 MB / 0.5996 GB, free: 8.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/0.6692, allocations: 2.35 MB / 0.6019 GB, free: 6.551 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-05/0.6693, allocations: 28 kB / 0.6019 GB, free: 6.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008864/0.6781, allocations: 5.258 MB / 0.607 GB, free: 1.262 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.6782, allocations: 48 kB / 0.6071 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/0.6783, allocations: 100 kB / 0.6072 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.6785, allocations: 140 kB / 0.6073 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/0.6812, allocations: 0.9766 MB / 0.6082 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001638/0.6814, allocations: 195.3 kB / 0.6084 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.6843, allocations: 0.5989 MB / 0.609 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004196/0.6847, allocations: 282.6 kB / 0.6093 GB, free: 14.93 MB / 462.1 MB 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 (540): * Single equations (assignments): 534 * 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.004189/0.6889, allocations: 1.887 MB / 0.6111 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.6893, allocations: 221 kB / 0.6113 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005874/0.6899, allocations: 267.4 kB / 0.6116 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-05/0.6899, allocations: 21.28 kB / 0.6116 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.6899, allocations: 4 kB / 0.6116 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.69, allocations: 7.984 kB / 0.6116 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.7003, allocations: 5.594 MB / 0.6171 GB, free: 6.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.7003, allocations: 4 kB / 0.6171 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.7009, allocations: 140.3 kB / 0.6172 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-05/0.7009, allocations: 15.95 kB / 0.6172 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.701, allocations: 22.58 kB / 0.6173 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.701, allocations: 7.938 kB / 0.6173 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.701, allocations: 8 kB / 0.6173 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.7034, allocations: 1.78 MB / 0.619 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007131/0.7042, allocations: 301.9 kB / 0.6193 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.7044, allocations: 30.61 kB / 0.6193 GB, free: 4.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/0.7049, allocations: 35.95 kB / 0.6194 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7051, allocations: 60.39 kB / 0.6194 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.7052, allocations: 46.8 kB / 0.6195 GB, free: 4.297 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0028/0.708, allocations: 1.545 MB / 0.621 GB, free: 2.738 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.708, allocations: 0 / 0.621 GB, free: 2.738 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004716/0.7127, allocations: 1.007 MB / 0.622 GB, free: 1.734 MB / 462.1 MB 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.002911/0.7157, allocations: 2.417 MB / 0.6243 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005374/0.7211, allocations: 3.115 MB / 0.6274 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.7211, allocations: 4.188 kB / 0.6274 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009972/0.7221, allocations: 0.7374 MB / 0.6281 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.7236, allocations: 246.2 kB / 0.6283 GB, free: 11.17 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03929/0.7629, allocations: 21.4 MB / 0.6492 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003841/0.7668, allocations: 2.97 MB / 0.6521 GB, free: 384 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003644/0.7705, allocations: 1.484 MB / 0.6536 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/0.7725, allocations: 1.518 MB / 0.6551 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.7725, allocations: 1.969 kB / 0.6551 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08469/0.8572, allocations: 48.33 MB / 0.7023 GB, free: 13.31 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.8574, allocations: 179.7 kB / 0.7024 GB, free: 13.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.778, allocations: 0 / 0.7024 GB, free: 13.07 MB / 0.545 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