Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001104, allocations: 96.83 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001558, allocations: 173.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4048/0.4048, allocations: 43.55 MB / 314.5 MB, free: 8.984 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005846/0.0005848, allocations: 16 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1453, allocations: 58.86 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2767/0.4221, allocations: 24.53 MB / 467.4 MB, free: 35.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.4373, allocations: 5.565 MB / 472.9 MB, free: 33.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005692/0.4431, allocations: 114 kB / 473.1 MB, free: 33.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004573/0.4477, allocations: 1.267 MB / 474.3 MB, free: 32.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0134/0.4611, allocations: 3.614 MB / 477.9 MB, free: 31.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.4625, allocations: 80.94 kB / 478 MB, free: 31.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.4653, allocations: 1.505 MB / 479.5 MB, free: 31.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002786/0.4681, allocations: 2.127 MB / 481.6 MB, free: 30.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.4691, allocations: 0.7413 MB / 482.4 MB, free: 29.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009007/0.4701, allocations: 0.9766 MB / 483.4 MB, free: 29.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.4703, allocations: 120.8 kB / 483.5 MB, free: 29.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007351/0.4711, allocations: 367.8 kB / 483.8 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000889/0.472, allocations: 1.186 MB / 485 MB, free: 29.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.4724, allocations: 0.6862 MB / 485.7 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004109/0.4765, allocations: 4.165 MB / 489.9 MB, free: 27.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4766, allocations: 0 / 489.9 MB, free: 27.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4766, allocations: 0 / 489.9 MB, free: 27.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001871/0.4768, allocations: 0 / 489.9 MB, free: 27.75 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.005317/0.4821, allocations: 2.98 MB / 492.9 MB, free: 25.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.4822, allocations: 14.14 kB / 492.9 MB, free: 25.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001428/0.4836, allocations: 0.668 MB / 493.5 MB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.497, allocations: 3.575 MB / 497.1 MB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/0.5023, allocations: 1.504 MB / 498.6 MB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.5025, allocations: 172.7 kB / 498.8 MB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/0.5037, allocations: 221 kB / 499 MB, free: 24.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0174/0.5211, allocations: 9.497 MB / 0.4966 GB, free: 19.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.058e-05/0.5212, allocations: 19.86 kB / 0.4966 GB, free: 19.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004381/0.5217, allocations: 107.8 kB / 0.4967 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004514/0.5262, allocations: 2.379 MB / 0.499 GB, free: 18.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.5434, allocations: 8.686 MB / 0.5075 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04268/0.5861, allocations: 29.35 MB / 0.5362 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005144/0.5913, allocations: 3.056 MB / 0.5392 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009582/0.601, allocations: 4.873 MB / 0.5439 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.601, allocations: 43.22 kB / 0.544 GB, free: 6.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 5.01e-06/0.601, allocations: 0 / 0.544 GB, free: 6.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006228/0.6073, allocations: 3.241 MB / 0.5471 GB, free: 3.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.6074, allocations: 60.06 kB / 0.5472 GB, free: 3.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00403/0.6114, allocations: 2.561 MB / 0.5497 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/0.6115, allocations: 37.7 kB / 0.5497 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/0.6135, allocations: 2.641 MB / 0.5523 GB, free: 14.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004575/0.614, allocations: 0.4937 MB / 0.5528 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.6142, allocations: 88 kB / 0.5529 GB, free: 13.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003751/0.6145, allocations: 0.5476 MB / 0.5534 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.6166, allocations: 1.34 MB / 0.5547 GB, free: 11.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003903/0.6205, allocations: 4.079 MB / 0.5587 GB, free: 6.102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.6238, allocations: 2.355 MB / 0.561 GB, free: 3.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.713e-05/0.6239, allocations: 31.95 kB / 0.561 GB, free: 3.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008678/0.6326, allocations: 5.244 MB / 0.5661 GB, free: 14.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/0.6327, allocations: 44 kB / 0.5662 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/0.6328, allocations: 100 kB / 0.5663 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.633, allocations: 147.9 kB / 0.5664 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003249/0.6363, allocations: 0.9825 MB / 0.5674 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001555/0.6364, allocations: 187.3 kB / 0.5676 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/0.6398, allocations: 0.6033 MB / 0.5681 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004318/0.6402, allocations: 279.9 kB / 0.5684 GB, free: 12.12 MB / 446.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.00344/0.6437, allocations: 1.891 MB / 0.5703 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.644, allocations: 217.1 kB / 0.5705 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.6445, allocations: 271.4 kB / 0.5707 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/0.6446, allocations: 16 kB / 0.5707 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.6446, allocations: 3.938 kB / 0.5707 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6446, allocations: 3.984 kB / 0.5707 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009711/0.6543, allocations: 5.603 MB / 0.5762 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.6544, allocations: 4 kB / 0.5762 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.655, allocations: 144.2 kB / 0.5764 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.655, allocations: 11.98 kB / 0.5764 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.6551, allocations: 27.98 kB / 0.5764 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.109e-05/0.6551, allocations: 11.98 kB / 0.5764 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.6551, allocations: 7.938 kB / 0.5764 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.6575, allocations: 2.11 MB / 0.5785 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005995/0.6581, allocations: 301.9 kB / 0.5788 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.6583, allocations: 20 kB / 0.5788 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.6589, allocations: 47.94 kB / 0.5788 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.659, allocations: 60.39 kB / 0.5789 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/0.6591, allocations: 43.98 kB / 0.5789 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002395/0.6615, allocations: 1.541 MB / 0.5804 GB, free: 15.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6615, allocations: 0 / 0.5804 GB, free: 15.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00454/0.6661, allocations: 1.011 MB / 0.5814 GB, free: 14.41 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.003665/0.6698, allocations: 3.871 MB / 0.5852 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005626/0.6754, allocations: 3.112 MB / 0.5882 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.351e-06/0.6755, allocations: 0 / 0.5882 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009478/0.6764, allocations: 0.739 MB / 0.589 GB, free: 6.562 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.6778, allocations: 220.6 kB / 0.5892 GB, free: 6.348 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2941/0.972, allocations: 88.49 MB / 0.6756 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/0.9749, allocations: 3.039 MB / 0.6786 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00315/0.978, allocations: 1.489 MB / 0.68 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/0.98, allocations: 1.515 MB / 0.6815 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.98, allocations: 3.312 kB / 0.6815 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.082, allocations: 48.29 MB / 0.7287 GB, free: 87.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/1.082, allocations: 183.6 kB / 0.7288 GB, free: 87.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/3.961, allocations: 0 / 0.7288 GB, free: 87.13 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) Environment - environmentSimulation: