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.001375/0.001375, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.00131/0.001311, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.424/1.424, 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.2102/0.2102, allocations: 43.52 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.002193/0.002193, allocations: 68.33 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1062, 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.01276/0.119, allocations: 11.29 MB / 0.4984 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005852/0.1249, allocations: 2.777 MB / 0.5011 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.1262, allocations: 59.88 kB / 0.5012 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.1291, allocations: 1.308 MB / 0.5025 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.1327, allocations: 1.214 MB / 0.5036 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.1331, allocations: 75.91 kB / 0.5037 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003433/0.1366, allocations: 2.76 MB / 0.5064 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.139, allocations: 1.848 MB / 0.5082 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.1404, allocations: 1.055 MB / 0.5092 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.1426, allocations: 1.456 MB / 0.5107 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007266/0.1434, allocations: 208 kB / 0.5109 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.1446, allocations: 483.4 kB / 0.5113 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.1462, allocations: 1.406 MB / 0.5127 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.1483, allocations: 1.719 MB / 0.5144 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00656/0.1548, allocations: 5.507 MB / 0.5198 GB, free: 11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1549, allocations: 3.938 kB / 0.5198 GB, free: 11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1549, allocations: 0 / 0.5198 GB, free: 11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001589/0.1551, allocations: 3.938 kB / 0.5198 GB, free: 10.99 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.006587/0.1617, allocations: 3.699 MB / 0.5234 GB, free: 7.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1617, allocations: 15.89 kB / 0.5234 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009929/0.1627, allocations: 0.6709 MB / 0.5241 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.1733, allocations: 2.962 MB / 0.5269 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.1766, allocations: 1.538 MB / 0.5284 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.1768, allocations: 172.7 kB / 0.5286 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007008/0.1775, allocations: 223.8 kB / 0.5288 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2156/0.3931, allocations: 9.471 MB / 0.5381 GB, free: 34.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.85e-05/0.3932, allocations: 15.62 kB / 0.5381 GB, free: 34.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/0.3935, allocations: 109.1 kB / 0.5382 GB, free: 34.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003765/0.3973, allocations: 2.38 MB / 0.5405 GB, free: 33.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.4126, allocations: 8.67 MB / 0.549 GB, free: 31.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03009/0.4427, allocations: 29.15 MB / 0.5775 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/0.4465, allocations: 3.047 MB / 0.5804 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009924/0.4476, allocations: 0.9805 MB / 0.5814 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007459/0.455, allocations: 4.85 MB / 0.5861 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.4551, allocations: 39.22 kB / 0.5862 GB, free: 13.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.398e-06/0.4551, allocations: 0 / 0.5862 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006449/0.4616, allocations: 2.741 MB / 0.5888 GB, free: 11.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4616, allocations: 64 kB / 0.5889 GB, free: 10.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004052/0.4657, allocations: 2.577 MB / 0.5914 GB, free: 8.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.4659, allocations: 37.7 kB / 0.5915 GB, free: 8.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002198/0.4681, allocations: 2.766 MB / 0.5942 GB, free: 5.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006454/0.4688, allocations: 0.5118 MB / 0.5947 GB, free: 5.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/0.4701, allocations: 0.9052 MB / 0.5955 GB, free: 4.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.4704, allocations: 363.5 kB / 0.5959 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.4725, allocations: 1.352 MB / 0.5972 GB, free: 2.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004598/0.4772, allocations: 4.118 MB / 0.6012 GB, free: 13.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007479/0.4847, allocations: 5.964 MB / 0.607 GB, free: 5.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.13e-05/0.4848, allocations: 28 kB / 0.6071 GB, free: 5.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009836/0.4946, allocations: 5.292 MB / 0.6122 GB, free: 404 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.431e-05/0.4947, allocations: 48 kB / 0.6123 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.4949, allocations: 99.98 kB / 0.6124 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.495, allocations: 131.9 kB / 0.6125 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/0.4981, allocations: 0.9787 MB / 0.6135 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001779/0.4983, allocations: 191.2 kB / 0.6136 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/0.5014, allocations: 0.6164 MB / 0.6142 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000552/0.502, allocations: 283.9 kB / 0.6145 GB, free: 14.05 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.003069/0.5051, allocations: 1.887 MB / 0.6164 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/0.5055, allocations: 224.4 kB / 0.6166 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.506, allocations: 275.4 kB / 0.6168 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/0.5061, allocations: 15.98 kB / 0.6169 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.5061, allocations: 4 kB / 0.6169 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5061, allocations: 7.922 kB / 0.6169 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008951/0.5151, allocations: 5.618 MB / 0.6224 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.5151, allocations: 4 kB / 0.6224 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.5157, allocations: 131.8 kB / 0.6225 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.5157, allocations: 8 kB / 0.6225 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.5158, allocations: 20.56 kB / 0.6225 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.5158, allocations: 11.98 kB / 0.6225 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.5158, allocations: 11.94 kB / 0.6225 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.5183, allocations: 1.805 MB / 0.6243 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/0.5188, allocations: 303.2 kB / 0.6246 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.519, allocations: 16 kB / 0.6246 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006007/0.5196, allocations: 39.95 kB / 0.6246 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.5198, allocations: 64.38 kB / 0.6247 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/0.5199, allocations: 47.97 kB / 0.6247 GB, free: 3.352 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002376/0.5222, allocations: 1.56 MB / 0.6263 GB, free: 1.777 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5223, allocations: 0 / 0.6263 GB, free: 1.777 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003517/0.5258, allocations: 1.02 MB / 0.6273 GB, free: 0.7539 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.002923/0.5287, allocations: 2.444 MB / 0.6297 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005207/0.534, allocations: 3.159 MB / 0.6327 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.534, allocations: 0 / 0.6327 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009825/0.535, allocations: 0.7464 MB / 0.6335 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5364, allocations: 251.2 kB / 0.6337 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04563/0.582, allocations: 29.4 MB / 0.6624 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004492/0.5866, allocations: 2.963 MB / 0.6653 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00341/0.59, allocations: 1.484 MB / 0.6668 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002379/0.5924, allocations: 1.522 MB / 0.6682 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.5924, allocations: 0 / 0.6682 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08076/0.6732, allocations: 38.57 MB / 0.7059 GB, free: 12.28 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.63, allocations: 4.062 kB / 0.7059 GB, free: 12.28 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)