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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 112.6 kB / 17.12 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 191.7 kB / 20.07 MB, free: 3 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.469/1.469, allocations: 207.6 MB / 230.5 MB, free: 4.055 MB / 174.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.3348/0.3348, allocations: 44.23 MB / 326.5 MB, free: 6.848 MB / 254.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.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"}) [Timeout 660] "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.002194/0.002194, allocations: 67.91 kB / 462.2 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2654, allocations: 61 MB / 0.5109 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008467/0.2739, allocations: 11.34 MB / 0.522 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.2787, allocations: 2.808 MB / 0.5247 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.2801, allocations: 55.88 kB / 0.5248 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.2824, allocations: 1.331 MB / 0.5261 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.2852, allocations: 1.253 MB / 0.5273 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.2855, allocations: 75.84 kB / 0.5274 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003295/0.2888, allocations: 2.759 MB / 0.53 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.2908, allocations: 1.622 MB / 0.5316 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.2923, allocations: 1.047 MB / 0.5327 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.2945, allocations: 1.615 MB / 0.5342 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005194/0.295, allocations: 208 kB / 0.5344 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.2961, allocations: 0.4915 MB / 0.5349 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.2976, allocations: 1.449 MB / 0.5363 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.2997, allocations: 1.719 MB / 0.538 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006769/0.3065, allocations: 5.509 MB / 0.5434 GB, free: 13.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3065, allocations: 3.984 kB / 0.5434 GB, free: 13.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3065, allocations: 0 / 0.5434 GB, free: 13.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001563/0.3067, allocations: 0 / 0.5434 GB, free: 13.72 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.006824/0.3135, allocations: 3.711 MB / 0.547 GB, free: 9.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3135, allocations: 11.89 kB / 0.547 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001188/0.3147, allocations: 0.671 MB / 0.5477 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009614/0.3243, allocations: 2.966 MB / 0.5506 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004341/0.3287, allocations: 1.534 MB / 0.5521 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.3289, allocations: 172.6 kB / 0.5522 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008755/0.3297, allocations: 227.8 kB / 0.5525 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.3465, allocations: 9.468 MB / 0.5617 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.325e-05/0.3466, allocations: 19.88 kB / 0.5617 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004514/0.347, allocations: 103.8 kB / 0.5618 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003861/0.3509, allocations: 2.381 MB / 0.5641 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.3685, allocations: 8.668 MB / 0.5726 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04663/0.4151, allocations: 29.15 MB / 0.6011 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005252/0.4203, allocations: 2.948 MB / 0.604 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.4219, allocations: 0.8977 MB / 0.6048 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.4319, allocations: 4.847 MB / 0.6096 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.432, allocations: 35.22 kB / 0.6096 GB, free: 8.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.749e-06/0.432, allocations: 0 / 0.6096 GB, free: 8.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.006271/0.4382, allocations: 2.753 MB / 0.6123 GB, free: 5.328 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.4383, allocations: 60.06 kB / 0.6123 GB, free: 5.258 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/0.4421, allocations: 2.566 MB / 0.6149 GB, free: 2.664 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.4422, allocations: 45.64 kB / 0.6149 GB, free: 2.613 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002186/0.4444, allocations: 2.771 MB / 0.6176 GB, free: 15.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006428/0.4451, allocations: 0.5078 MB / 0.6181 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.4463, allocations: 0.9052 MB / 0.619 GB, free: 14.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.4465, allocations: 361.7 kB / 0.6193 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.4486, allocations: 1.355 MB / 0.6207 GB, free: 12.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004728/0.4534, allocations: 4.114 MB / 0.6247 GB, free: 7.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007971/0.4613, allocations: 5.96 MB / 0.6305 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.4614, allocations: 28 kB / 0.6305 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01077/0.4722, allocations: 5.304 MB / 0.6357 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.4724, allocations: 48 kB / 0.6357 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001856/0.4726, allocations: 104 kB / 0.6358 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.4728, allocations: 132 kB / 0.636 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/0.4761, allocations: 0.9708 MB / 0.6369 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002152/0.4763, allocations: 191.2 kB / 0.6371 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/0.4797, allocations: 0.6127 MB / 0.6377 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007522/0.4805, allocations: 279.9 kB / 0.638 GB, free: 8.156 MB / 0.4981 GB 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.003744/0.4842, allocations: 1.895 MB / 0.6398 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005254/0.4847, allocations: 226.5 kB / 0.64 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007541/0.4855, allocations: 271.4 kB / 0.6403 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-05/0.4855, allocations: 16 kB / 0.6403 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4855, allocations: 0 / 0.6403 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.4856, allocations: 3.984 kB / 0.6403 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.4984, allocations: 5.622 MB / 0.6458 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.2263/0.7247, allocations: 2.359 kB / 0.6458 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/0.7255, allocations: 132.6 kB / 0.6459 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/0.7255, allocations: 7.562 kB / 0.6459 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.7256, allocations: 28.88 kB / 0.646 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-05/0.7256, allocations: 13.44 kB / 0.646 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.7256, allocations: 4.469 kB / 0.646 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.728, allocations: 1.805 MB / 0.6477 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/0.7286, allocations: 294.5 kB / 0.648 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.7289, allocations: 21.97 kB / 0.648 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.7295, allocations: 36.44 kB / 0.6481 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.7296, allocations: 65.08 kB / 0.6481 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.833e-05/0.7297, allocations: 44.75 kB / 0.6482 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002695/0.7324, allocations: 1.559 MB / 0.6497 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7324, allocations: 0.5938 kB / 0.6497 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004169/0.7366, allocations: 1.016 MB / 0.6507 GB, free: 118.3 MB / 0.4981 GB 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.003078/0.7396, allocations: 2.451 MB / 0.6531 GB, free: 117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005126/0.7448, allocations: 3.02 MB / 0.656 GB, free: 116 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.7448, allocations: 1.062 kB / 0.656 GB, free: 116 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007871/0.7456, allocations: 0.6885 MB / 0.6567 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.7469, allocations: 247.7 kB / 0.6569 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03341/0.7803, allocations: 29.39 MB / 0.6856 GB, free: 90.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003389/0.7837, allocations: 2.967 MB / 0.6885 GB, free: 87.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002587/0.7863, allocations: 1.488 MB / 0.69 GB, free: 86.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/0.7878, allocations: 1.515 MB / 0.6915 GB, free: 84.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.7878, allocations: 0 / 0.6915 GB, free: 84.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06287/0.8507, allocations: 38.85 MB / 0.7294 GB, free: 45.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.65, allocations: 11.84 kB / 0.7294 GB, free: 45.94 MB / 0.4981 GB " [Timeout remaining time 644] (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: 18.416921405121684] Failed to read output from testmodel.py, exit status != 0: 15.745840162970126 15.757544422 15.448273808 Calling exit ...