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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 214.6 kB / 23.77 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 207.7 MB / 234.6 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.26 MB / 331.1 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 74.25 kB / 468.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1237, allocations: 61.04 MB / 0.5169 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01302/0.1367, allocations: 9.791 MB / 0.5265 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006206/0.1429, allocations: 2.664 MB / 0.5291 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.1445, allocations: 59.81 kB / 0.5291 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003231/0.1477, allocations: 1.292 MB / 0.5304 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003732/0.1515, allocations: 1.268 MB / 0.5316 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.152, allocations: 79.84 kB / 0.5317 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004373/0.1564, allocations: 2.757 MB / 0.5344 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003058/0.1594, allocations: 1.668 MB / 0.536 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.1618, allocations: 1.07 MB / 0.5371 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.1649, allocations: 1.615 MB / 0.5386 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00078/0.1657, allocations: 212 kB / 0.5388 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.167, allocations: 407.5 kB / 0.5392 GB, free: 216 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.238/0.405, allocations: 1.443 MB / 0.5406 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002397/0.4074, allocations: 1.207 MB / 0.5418 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007351/0.4147, allocations: 5.536 MB / 0.5472 GB, free: 11.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4148, allocations: 0 / 0.5472 GB, free: 11.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4148, allocations: 0 / 0.5472 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001802/0.4149, allocations: 1.125 kB / 0.5472 GB, free: 11.41 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.008327/0.4233, allocations: 3.632 MB / 0.5508 GB, free: 9.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4233, allocations: 10.81 kB / 0.5508 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001533/0.4235, allocations: 85.47 kB / 0.5509 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001366/0.4248, allocations: 0.6691 MB / 0.5515 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.435, allocations: 2.963 MB / 0.5544 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/0.4391, allocations: 1.496 MB / 0.5559 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.4393, allocations: 175.4 kB / 0.556 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.4403, allocations: 226.2 kB / 0.5563 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.4559, allocations: 9.468 MB / 0.5655 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.406e-05/0.456, allocations: 19.94 kB / 0.5655 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005112/0.4565, allocations: 109.3 kB / 0.5656 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003796/0.4603, allocations: 2.374 MB / 0.5679 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.4787, allocations: 8.663 MB / 0.5764 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04591/0.5246, allocations: 27.65 MB / 0.6034 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005177/0.5297, allocations: 2.036 MB / 0.6054 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.5312, allocations: 0.9093 MB / 0.6063 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008724/0.5399, allocations: 3.773 MB / 0.61 GB, free: 2.246 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.54, allocations: 39.22 kB / 0.61 GB, free: 2.199 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 3.657e-06/0.54, allocations: 0 / 0.61 GB, free: 2.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.006638/0.5466, allocations: 2.746 MB / 0.6127 GB, free: 15.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.5467, allocations: 60.06 kB / 0.6127 GB, free: 15.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004371/0.5511, allocations: 2.57 MB / 0.6153 GB, free: 12.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.5512, allocations: 41.69 kB / 0.6153 GB, free: 12.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/0.5535, allocations: 2.763 MB / 0.618 GB, free: 9.984 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006849/0.5542, allocations: 0.506 MB / 0.6185 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.5556, allocations: 0.9082 MB / 0.6194 GB, free: 8.566 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.5558, allocations: 357.9 kB / 0.6197 GB, free: 8.211 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.558, allocations: 1.359 MB / 0.621 GB, free: 6.848 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/0.5628, allocations: 4.121 MB / 0.6251 GB, free: 1.383 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007523/0.5703, allocations: 5.958 MB / 0.6309 GB, free: 10.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.624e-05/0.5704, allocations: 32 kB / 0.6309 GB, free: 10.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009965/0.5804, allocations: 5.291 MB / 0.6361 GB, free: 5.246 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/0.5805, allocations: 44 kB / 0.6361 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/0.5806, allocations: 107.9 kB / 0.6362 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.5808, allocations: 128 kB / 0.6363 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/0.5839, allocations: 0.9792 MB / 0.6373 GB, free: 3.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001875/0.5841, allocations: 187.3 kB / 0.6375 GB, free: 3.809 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003498/0.5876, allocations: 0.6205 MB / 0.6381 GB, free: 3.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007758/0.5884, allocations: 276 kB / 0.6384 GB, free: 2.918 MB / 478.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.003886/0.5923, allocations: 1.897 MB / 0.6402 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/0.5927, allocations: 222.5 kB / 0.6404 GB, free: 0.793 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000617/0.5934, allocations: 272.1 kB / 0.6407 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.856e-05/0.5934, allocations: 16 kB / 0.6407 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.5934, allocations: 0 / 0.6407 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.5934, allocations: 7.984 kB / 0.6407 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.6043, allocations: 5.451 MB / 0.646 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.6043, allocations: 4.562 kB / 0.646 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.6049, allocations: 139.8 kB / 0.6462 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.605, allocations: 8 kB / 0.6462 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.605, allocations: 30.02 kB / 0.6462 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.605, allocations: 7.938 kB / 0.6462 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.605, allocations: 12.5 kB / 0.6462 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.6075, allocations: 1.803 MB / 0.648 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/0.6081, allocations: 226.1 kB / 0.6482 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.6084, allocations: 19.98 kB / 0.6482 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.609, allocations: 41.61 kB / 0.6483 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.6091, allocations: 64.28 kB / 0.6483 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.243e-05/0.6092, allocations: 45.55 kB / 0.6484 GB, free: 8.496 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00264/0.6119, allocations: 1.56 MB / 0.6499 GB, free: 6.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6119, allocations: 0 / 0.6499 GB, free: 6.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004003/0.6159, allocations: 1.014 MB / 0.6509 GB, free: 5.906 MB / 494.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.003126/0.619, allocations: 2.442 MB / 0.6533 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00518/0.6242, allocations: 3.018 MB / 0.6562 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.6242, allocations: 0 / 0.6562 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009728/0.6252, allocations: 0.6866 MB / 0.6569 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6267, allocations: 258 kB / 0.6571 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04918/0.6758, allocations: 29.4 MB / 0.6858 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004035/0.6799, allocations: 2.418 MB / 0.6882 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003395/0.6833, allocations: 1.484 MB / 0.6896 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002425/0.6857, allocations: 1.519 MB / 0.6911 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/0.6857, allocations: 0 / 0.6911 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08064/0.7663, allocations: 40.17 MB / 0.7304 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.72/19.49, allocations: 7.969 kB / 0.7304 GB, free: 0.6602 MB / 0.5606 GB " [Timeout remaining time 640] (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 --stepSize=0.0008 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.501449775067158] Failed to read output from testmodel.py, exit status != 0: 19.685725989053026 19.710951578 19.291601962 Calling exit ...