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.0009096/0.0009096, allocations: 88.19 kB / 15.7 MB, free: 460 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.001173/0.001173, allocations: 175.2 kB / 16.58 MB, free: 6.84 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.401/1.401, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.344/0.344, allocations: 43.55 MB / 314.6 MB, free: 9.027 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.0005967/0.0005969, allocations: 18.97 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1196, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2287/0.3484, allocations: 25.89 MB / 468.8 MB, free: 34.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.3606, allocations: 5.327 MB / 474.1 MB, free: 32.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005515/0.3662, allocations: 119.1 kB / 474.2 MB, free: 32.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003904/0.3701, allocations: 1.256 MB / 475.5 MB, free: 32.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009113/0.3792, allocations: 3.528 MB / 479 MB, free: 31.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3803, allocations: 72.55 kB / 479.1 MB, free: 31.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003425/0.3837, allocations: 3.06 MB / 482.1 MB, free: 29.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002757/0.3865, allocations: 2.135 MB / 484.3 MB, free: 29.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.3878, allocations: 0.8828 MB / 485.1 MB, free: 28.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.3893, allocations: 1.394 MB / 486.5 MB, free: 28.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002841/0.3896, allocations: 115.1 kB / 486.6 MB, free: 28.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008419/0.3904, allocations: 362.2 kB / 487 MB, free: 28.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009956/0.3914, allocations: 1.286 MB / 488.3 MB, free: 27.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006422/0.3921, allocations: 0.6865 MB / 489 MB, free: 27.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005102/0.3972, allocations: 4.16 MB / 493.1 MB, free: 26.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3972, allocations: 0 / 493.1 MB, free: 26.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3972, allocations: 4.844 kB / 493.1 MB, free: 26.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002123/0.3975, allocations: 0 / 493.1 MB, free: 26.53 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.006584/0.404, allocations: 2.978 MB / 496.1 MB, free: 24.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4041, allocations: 9.406 kB / 496.1 MB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/0.4054, allocations: 0.6679 MB / 496.8 MB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.4156, allocations: 3.027 MB / 499.8 MB, free: 23.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00435/0.42, allocations: 1.51 MB / 0.4896 GB, free: 23.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.4202, allocations: 171.5 kB / 0.4897 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006643/0.4209, allocations: 220.5 kB / 0.49 GB, free: 22.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.438, allocations: 9.449 MB / 0.4992 GB, free: 17.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.873e-05/0.4381, allocations: 19.09 kB / 0.4992 GB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003669/0.4385, allocations: 115.9 kB / 0.4993 GB, free: 17.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003887/0.4424, allocations: 2.37 MB / 0.5016 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.4591, allocations: 8.63 MB / 0.5101 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04277/0.5019, allocations: 29.3 MB / 0.5387 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005011/0.507, allocations: 3.048 MB / 0.5416 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.5084, allocations: 0.9816 MB / 0.5426 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008106/0.5165, allocations: 4.841 MB / 0.5473 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.5166, allocations: 39.22 kB / 0.5474 GB, free: 3.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.408e-06/0.5166, allocations: 0 / 0.5474 GB, free: 3.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.005701/0.5223, allocations: 2.728 MB / 0.55 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.5223, allocations: 60.06 kB / 0.5501 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003623/0.526, allocations: 2.553 MB / 0.5526 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/0.5261, allocations: 41.7 kB / 0.5526 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.5279, allocations: 2.645 MB / 0.5552 GB, free: 11.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/0.5284, allocations: 0.4937 MB / 0.5557 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.5286, allocations: 84 kB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003502/0.5289, allocations: 0.5437 MB / 0.5563 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.5309, allocations: 1.336 MB / 0.5576 GB, free: 8.855 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003934/0.5348, allocations: 4.106 MB / 0.5616 GB, free: 3.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/0.5381, allocations: 2.355 MB / 0.5639 GB, free: 1.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-05/0.5382, allocations: 28 kB / 0.5639 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00787/0.546, allocations: 5.251 MB / 0.5691 GB, free: 11.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/0.5461, allocations: 48 kB / 0.5691 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.5462, allocations: 99.94 kB / 0.5692 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.5464, allocations: 144 kB / 0.5693 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/0.5489, allocations: 0.9747 MB / 0.5703 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000148/0.5491, allocations: 187.9 kB / 0.5705 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.5518, allocations: 0.6147 MB / 0.5711 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003386/0.5522, allocations: 276 kB / 0.5713 GB, free: 9.375 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.003305/0.5555, allocations: 1.903 MB / 0.5732 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.5558, allocations: 209.2 kB / 0.5734 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/0.5564, allocations: 271.4 kB / 0.5737 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.5564, allocations: 16 kB / 0.5737 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.5564, allocations: 0 / 0.5737 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.5564, allocations: 3.984 kB / 0.5737 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008462/0.5649, allocations: 5.599 MB / 0.5791 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.565, allocations: 12.05 kB / 0.5792 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.5655, allocations: 135.8 kB / 0.5793 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.5655, allocations: 11.98 kB / 0.5793 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.5656, allocations: 23.98 kB / 0.5793 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.5656, allocations: 11.94 kB / 0.5793 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.5656, allocations: 4 kB / 0.5793 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.5679, allocations: 1.788 MB / 0.5811 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/0.5685, allocations: 297.8 kB / 0.5814 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.5687, allocations: 16 kB / 0.5814 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.5692, allocations: 47.95 kB / 0.5814 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.5694, allocations: 56.39 kB / 0.5815 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/0.5695, allocations: 47.97 kB / 0.5815 GB, free: 14.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002334/0.5718, allocations: 1.541 MB / 0.583 GB, free: 13.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.5718, allocations: 0 / 0.583 GB, free: 13.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003703/0.5755, allocations: 1.011 MB / 0.584 GB, free: 12.14 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.002604/0.5781, allocations: 2.416 MB / 0.5864 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005188/0.5833, allocations: 3.124 MB / 0.5894 GB, free: 6.539 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5834, allocations: 0 / 0.5894 GB, free: 6.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009444/0.5843, allocations: 0.7335 MB / 0.5901 GB, free: 5.805 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.5859, allocations: 251.4 kB / 0.5904 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0413/0.6272, allocations: 21.4 MB / 0.6113 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003924/0.6312, allocations: 2.972 MB / 0.6142 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003671/0.6349, allocations: 1.484 MB / 0.6156 GB, free: 9.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002416/0.6373, allocations: 1.515 MB / 0.6171 GB, free: 7.738 MB / 494.1 MB Notification: Performance of SimCode: time 1.323e-06/0.6374, allocations: 0 / 0.6171 GB, free: 7.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2909/0.9283, allocations: 48.32 MB / 0.6643 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/0.9285, allocations: 186.3 kB / 0.6645 GB, free: 148.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/3.968, allocations: 0 / 0.6645 GB, free: 148.9 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: