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.001166/0.001166, allocations: 102.3 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 199 kB / 16.91 MB, free: 6.188 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.429/1.429, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.3342/0.3342, allocations: 43.49 MB / 313.6 MB, free: 8.52 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.001527/0.001527, allocations: 67.91 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1101, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2404/0.3506, allocations: 28.71 MB / 468.8 MB, free: 33.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.3626, allocations: 5.576 MB / 474.4 MB, free: 31.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006711/0.3693, allocations: 113.3 kB / 474.5 MB, free: 31.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003081/0.3724, allocations: 1.248 MB / 475.7 MB, free: 30.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.3758, allocations: 1.131 MB / 476.9 MB, free: 30.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.3763, allocations: 71.45 kB / 476.9 MB, free: 30.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004577/0.3809, allocations: 2.775 MB / 479.7 MB, free: 28.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003881/0.3848, allocations: 1.934 MB / 481.7 MB, free: 28.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.3876, allocations: 1.068 MB / 482.7 MB, free: 27.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.3901, allocations: 1.582 MB / 484.3 MB, free: 27.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009508/0.3911, allocations: 217.2 kB / 484.5 MB, free: 27.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.3928, allocations: 491.1 kB / 485 MB, free: 27.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.3946, allocations: 1.418 MB / 486.4 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002589/0.3972, allocations: 1.736 MB / 488.1 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006645/0.4039, allocations: 5.225 MB / 493.4 MB, free: 23.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4039, allocations: 1.062 kB / 493.4 MB, free: 23.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4039, allocations: 0 / 493.4 MB, free: 23.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002229/0.4041, allocations: 0 / 493.4 MB, free: 23.39 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.007956/0.4121, allocations: 3.606 MB / 497 MB, free: 21.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4122, allocations: 18.16 kB / 497 MB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001212/0.4134, allocations: 0.6717 MB / 497.7 MB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009813/0.4232, allocations: 2.94 MB / 0.4889 GB, free: 20.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/0.4271, allocations: 1.523 MB / 0.4904 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.4273, allocations: 174.4 kB / 0.4905 GB, free: 19.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006904/0.428, allocations: 225.5 kB / 0.4907 GB, free: 19.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.4475, allocations: 9.474 MB / 0.5 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.35e-05/0.4476, allocations: 19.19 kB / 0.5 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003831/0.448, allocations: 112.8 kB / 0.5001 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003896/0.4519, allocations: 2.373 MB / 0.5024 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01614/0.468, allocations: 8.669 MB / 0.5109 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04024/0.5083, allocations: 29.3 MB / 0.5395 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004652/0.513, allocations: 3.048 MB / 0.5425 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.5143, allocations: 0.9855 MB / 0.5435 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007515/0.5218, allocations: 4.836 MB / 0.5482 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.5219, allocations: 47.2 kB / 0.5482 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 3.216e-06/0.5219, allocations: 0 / 0.5482 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.005569/0.5274, allocations: 2.736 MB / 0.5509 GB, free: 14.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.5275, allocations: 60.06 kB / 0.551 GB, free: 14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/0.5306, allocations: 2.565 MB / 0.5535 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.5307, allocations: 37.7 kB / 0.5535 GB, free: 11.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.5321, allocations: 2.645 MB / 0.5561 GB, free: 8.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003726/0.5325, allocations: 0.4937 MB / 0.5566 GB, free: 8.184 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.5335, allocations: 0.9084 MB / 0.5574 GB, free: 7.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5337, allocations: 357.9 kB / 0.5578 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.5353, allocations: 1.352 MB / 0.5591 GB, free: 5.547 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.5384, allocations: 4.122 MB / 0.5631 GB, free: 36 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/0.5445, allocations: 5.96 MB / 0.569 GB, free: 8.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.29e-05/0.5446, allocations: 28 kB / 0.569 GB, free: 8.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007991/0.5526, allocations: 5.283 MB / 0.5741 GB, free: 3.379 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/0.5527, allocations: 44 kB / 0.5742 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.474e-05/0.5528, allocations: 104.2 kB / 0.5743 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.5529, allocations: 128 kB / 0.5744 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.5555, allocations: 0.9747 MB / 0.5754 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001382/0.5557, allocations: 191.2 kB / 0.5755 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/0.5586, allocations: 0.603 MB / 0.5761 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003794/0.559, allocations: 284 kB / 0.5764 GB, free: 1.059 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003611/0.5626, allocations: 1.895 MB / 0.5782 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/0.563, allocations: 209.2 kB / 0.5784 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.5635, allocations: 275.4 kB / 0.5787 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.5635, allocations: 12 kB / 0.5787 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.5636, allocations: 0 / 0.5787 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5636, allocations: 7.984 kB / 0.5787 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009712/0.5733, allocations: 5.614 MB / 0.5842 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.5734, allocations: 7.984 kB / 0.5842 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/0.574, allocations: 135.8 kB / 0.5843 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/0.574, allocations: 8 kB / 0.5844 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.338e-05/0.5741, allocations: 20 kB / 0.5844 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-05/0.5741, allocations: 19.86 kB / 0.5844 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5741, allocations: 4.5 kB / 0.5844 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.5763, allocations: 1.796 MB / 0.5862 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.5769, allocations: 286 kB / 0.5864 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.5771, allocations: 23.92 kB / 0.5864 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.5777, allocations: 39.95 kB / 0.5865 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5779, allocations: 64.38 kB / 0.5865 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.483e-05/0.578, allocations: 39.98 kB / 0.5866 GB, free: 6.383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00216/0.5801, allocations: 1.556 MB / 0.5881 GB, free: 4.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5801, allocations: 0 / 0.5881 GB, free: 4.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004225/0.5844, allocations: 1.015 MB / 0.5891 GB, free: 3.793 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002685/0.5871, allocations: 2.435 MB / 0.5915 GB, free: 1.273 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006516/0.5936, allocations: 3.956 MB / 0.5953 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.5937, allocations: 0 / 0.5953 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000909/0.5946, allocations: 0.7426 MB / 0.5961 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.5961, allocations: 255.8 kB / 0.5963 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04657/0.6427, allocations: 32.95 MB / 0.6285 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003555/0.6463, allocations: 2.974 MB / 0.6314 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003367/0.6497, allocations: 1.484 MB / 0.6328 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/0.6515, allocations: 1.515 MB / 0.6343 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of SimCode: time 8.81e-07/0.6515, allocations: 0 / 0.6343 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2347/0.8862, allocations: 40.99 MB / 0.6744 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.8865, allocations: 195.1 kB / 0.6745 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/3.653, allocations: 0 / 0.6745 GB, free: 154.6 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/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)