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.001159/0.001159, allocations: 107.8 kB / 16.41 MB, free: 6.484 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.001505/0.001505, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.34/1.34, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1874/0.1874, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 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.001465/0.001466, allocations: 75.88 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09437/0.09584, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01079/0.1067, allocations: 11.29 MB / 0.4984 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005578/0.1123, allocations: 2.777 MB / 0.5011 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.1138, allocations: 59.88 kB / 0.5012 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.1166, allocations: 1.316 MB / 0.5025 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.1194, allocations: 1.21 MB / 0.5036 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1198, allocations: 83.83 kB / 0.5037 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.1228, allocations: 2.749 MB / 0.5064 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.125, allocations: 1.848 MB / 0.5082 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.1265, allocations: 1.051 MB / 0.5092 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.1283, allocations: 1.452 MB / 0.5107 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000537/0.1289, allocations: 208 kB / 0.5109 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.13, allocations: 491.3 kB / 0.5113 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.1314, allocations: 1.414 MB / 0.5127 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.1336, allocations: 1.723 MB / 0.5144 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004973/0.1385, allocations: 5.491 MB / 0.5198 GB, free: 11.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1386, allocations: 0 / 0.5198 GB, free: 11.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1386, allocations: 4 kB / 0.5198 GB, free: 11.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001586/0.1387, allocations: 0 / 0.5198 GB, free: 11.01 MB / 414.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.005005/0.1437, allocations: 3.605 MB / 0.5233 GB, free: 7.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1438, allocations: 15.89 kB / 0.5233 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006646/0.1445, allocations: 0.6671 MB / 0.5239 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009078/0.1536, allocations: 2.932 MB / 0.5268 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.156, allocations: 1.541 MB / 0.5283 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.1561, allocations: 176.6 kB / 0.5285 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003913/0.1565, allocations: 227.7 kB / 0.5287 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2071/0.3636, allocations: 9.463 MB / 0.5379 GB, free: 34.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.173e-05/0.3637, allocations: 19.44 kB / 0.538 GB, free: 34.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/0.3641, allocations: 108.5 kB / 0.5381 GB, free: 34.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004036/0.3681, allocations: 2.371 MB / 0.5404 GB, free: 34.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.3843, allocations: 8.662 MB / 0.5488 GB, free: 31.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03488/0.4193, allocations: 29.1 MB / 0.5772 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004093/0.4234, allocations: 3.047 MB / 0.5802 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.4245, allocations: 0.9805 MB / 0.5812 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007737/0.4323, allocations: 4.825 MB / 0.5859 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.4323, allocations: 39.22 kB / 0.5859 GB, free: 13.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.288e-06/0.4324, allocations: 3.938 kB / 0.5859 GB, free: 13.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.005873/0.4382, allocations: 2.736 MB / 0.5886 GB, free: 11.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.4383, allocations: 60.06 kB / 0.5887 GB, free: 11.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.442, allocations: 2.573 MB / 0.5912 GB, free: 8.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.99e-05/0.4421, allocations: 41.7 kB / 0.5912 GB, free: 8.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.4437, allocations: 2.641 MB / 0.5938 GB, free: 5.703 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.4442, allocations: 0.4937 MB / 0.5943 GB, free: 5.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.4453, allocations: 0.8928 MB / 0.5951 GB, free: 4.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4455, allocations: 367.5 kB / 0.5955 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.4474, allocations: 1.355 MB / 0.5968 GB, free: 2.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00355/0.4509, allocations: 4.114 MB / 0.6008 GB, free: 13.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005835/0.4568, allocations: 5.964 MB / 0.6067 GB, free: 5.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-05/0.4569, allocations: 28 kB / 0.6067 GB, free: 5.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008211/0.4651, allocations: 5.294 MB / 0.6119 GB, free: 408 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.33e-05/0.4652, allocations: 48 kB / 0.6119 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.4653, allocations: 96 kB / 0.612 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001123/0.4655, allocations: 128 kB / 0.6121 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/0.4683, allocations: 0.9786 MB / 0.6131 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001305/0.4684, allocations: 189 kB / 0.6133 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.4712, allocations: 0.5953 MB / 0.6138 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004115/0.4716, allocations: 279.9 kB / 0.6141 GB, free: 14.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002548/0.4742, allocations: 1.903 MB / 0.616 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.4745, allocations: 209.2 kB / 0.6162 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.475, allocations: 279.4 kB / 0.6164 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/0.475, allocations: 12 kB / 0.6164 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.475, allocations: 4 kB / 0.6164 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.475, allocations: 3.984 kB / 0.6164 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008768/0.4838, allocations: 5.618 MB / 0.6219 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.4838, allocations: 4 kB / 0.6219 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/0.4844, allocations: 135.7 kB / 0.6221 GB, free: 5.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.4844, allocations: 8 kB / 0.6221 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/0.4845, allocations: 24.55 kB / 0.6221 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/0.4845, allocations: 12 kB / 0.6221 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.4845, allocations: 11.94 kB / 0.6221 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.4866, allocations: 1.792 MB / 0.6239 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.4871, allocations: 282 kB / 0.6241 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003488/0.4875, allocations: 19.28 kB / 0.6242 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00067/0.4881, allocations: 47.94 kB / 0.6242 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.4883, allocations: 60.38 kB / 0.6243 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.751e-05/0.4883, allocations: 43.98 kB / 0.6243 GB, free: 3.414 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002189/0.4905, allocations: 1.56 MB / 0.6258 GB, free: 1.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4905, allocations: 0 / 0.6258 GB, free: 1.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003441/0.494, allocations: 1.01 MB / 0.6268 GB, free: 0.8281 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.002414/0.4964, allocations: 2.426 MB / 0.6292 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004266/0.5007, allocations: 3.154 MB / 0.6323 GB, free: 11.19 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5007, allocations: 0 / 0.6323 GB, free: 11.19 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008159/0.5015, allocations: 0.7425 MB / 0.633 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.5029, allocations: 256.8 kB / 0.6332 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03559/0.5385, allocations: 29.26 MB / 0.6618 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003632/0.5422, allocations: 2.972 MB / 0.6647 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002935/0.5451, allocations: 1.484 MB / 0.6662 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/0.5471, allocations: 1.519 MB / 0.6676 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of SimCode: time 1.342e-06/0.5471, allocations: 0 / 0.6676 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08438/0.6315, allocations: 39.05 MB / 0.7058 GB, free: 12.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.1, allocations: 11.92 kB / 0.7058 GB, free: 12.02 MB / 0.545 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)