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.001306/0.001306, allocations: 109 kB / 20.48 MB, free: 1.477 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.001393/0.001393, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.4/1.4, allocations: 207.6 MB / 234.6 MB, free: 9.973 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.2202/0.2202, allocations: 44.23 MB / 331.1 MB, free: 9.508 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.002526/0.002526, allocations: 70.7 kB / 468.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1151, allocations: 61.05 MB / 0.5169 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01414/0.1293, allocations: 11.36 MB / 0.528 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007635/0.1369, allocations: 2.801 MB / 0.5307 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.1392, allocations: 59.81 kB / 0.5308 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003219/0.1424, allocations: 1.343 MB / 0.5321 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.1457, allocations: 1.264 MB / 0.5333 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.1463, allocations: 83.83 kB / 0.5334 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004145/0.1505, allocations: 2.753 MB / 0.5361 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.1532, allocations: 1.679 MB / 0.5377 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.1553, allocations: 1.07 MB / 0.5388 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2327/0.388, allocations: 1.598 MB / 0.5404 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.3892, allocations: 208.2 kB / 0.5406 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.391, allocations: 0.4959 MB / 0.541 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002133/0.3931, allocations: 1.448 MB / 0.5425 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00371/0.3968, allocations: 1.713 MB / 0.5441 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009086/0.4059, allocations: 5.512 MB / 0.5495 GB, free: 9.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4059, allocations: 0 / 0.5495 GB, free: 9.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4059, allocations: 1.094 kB / 0.5495 GB, free: 9.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002516/0.4061, allocations: 3.375 kB / 0.5495 GB, free: 9.738 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.01154/0.4177, allocations: 3.632 MB / 0.5531 GB, free: 8.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.4177, allocations: 12.22 kB / 0.5531 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002166/0.418, allocations: 89.06 kB / 0.5532 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002095/0.4201, allocations: 0.666 MB / 0.5538 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.4312, allocations: 2.963 MB / 0.5567 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004655/0.4359, allocations: 1.481 MB / 0.5581 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.4361, allocations: 172.8 kB / 0.5583 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.4374, allocations: 224.3 kB / 0.5585 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/0.4551, allocations: 9.476 MB / 0.5678 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.415e-05/0.4552, allocations: 19.34 kB / 0.5678 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005224/0.4557, allocations: 108.2 kB / 0.5679 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004247/0.46, allocations: 2.372 MB / 0.5702 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02003/0.48, allocations: 8.665 MB / 0.5787 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04964/0.5296, allocations: 29.07 MB / 0.6071 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004853/0.5345, allocations: 2.051 MB / 0.6091 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.5359, allocations: 0.8955 MB / 0.6099 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008765/0.5447, allocations: 3.945 MB / 0.6138 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.5447, allocations: 41.66 kB / 0.6138 GB, free: 12.58 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.547e-06/0.5447, allocations: 4 kB / 0.6138 GB, free: 12.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006371/0.5511, allocations: 2.75 MB / 0.6165 GB, free: 9.824 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.5512, allocations: 61.09 kB / 0.6166 GB, free: 9.754 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004185/0.5554, allocations: 2.566 MB / 0.6191 GB, free: 7.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.5555, allocations: 41.7 kB / 0.6191 GB, free: 7.113 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002386/0.5579, allocations: 2.763 MB / 0.6218 GB, free: 4.359 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000642/0.5585, allocations: 0.5067 MB / 0.6223 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.56, allocations: 0.9106 MB / 0.6232 GB, free: 2.941 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.5603, allocations: 365.9 kB / 0.6236 GB, free: 2.578 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/0.5625, allocations: 1.357 MB / 0.6249 GB, free: 1.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/0.5674, allocations: 4.113 MB / 0.6289 GB, free: 11.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007655/0.575, allocations: 5.968 MB / 0.6347 GB, free: 4.816 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.793e-05/0.5751, allocations: 28 kB / 0.6348 GB, free: 4.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.0103/0.5854, allocations: 5.295 MB / 0.6399 GB, free: 15.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/0.5855, allocations: 48 kB / 0.64 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.5856, allocations: 96 kB / 0.6401 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.5857, allocations: 128 kB / 0.6402 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.5886, allocations: 0.9747 MB / 0.6411 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001688/0.5888, allocations: 197.9 kB / 0.6413 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/0.592, allocations: 0.6171 MB / 0.6419 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004807/0.5924, allocations: 279 kB / 0.6422 GB, free: 13.36 MB / 494.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.00339/0.5958, allocations: 1.895 MB / 0.644 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.5962, allocations: 222.5 kB / 0.6443 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.5968, allocations: 271.4 kB / 0.6445 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/0.5968, allocations: 20.28 kB / 0.6445 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5968, allocations: 0 / 0.6445 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.5968, allocations: 7.984 kB / 0.6445 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0095/0.6063, allocations: 5.585 MB / 0.65 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.6063, allocations: 4.562 kB / 0.65 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.6069, allocations: 143.8 kB / 0.6501 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.6069, allocations: 12 kB / 0.6501 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.607, allocations: 22.11 kB / 0.6502 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.607, allocations: 8 kB / 0.6502 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/0.607, allocations: 11.94 kB / 0.6502 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.6093, allocations: 1.801 MB / 0.6519 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.6098, allocations: 222.1 kB / 0.6522 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.6101, allocations: 23.98 kB / 0.6522 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.6107, allocations: 41.11 kB / 0.6522 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.6108, allocations: 72.27 kB / 0.6523 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.6109, allocations: 38.11 kB / 0.6523 GB, free: 2.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00238/0.6133, allocations: 1.56 MB / 0.6538 GB, free: 1.223 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6133, allocations: 0 / 0.6538 GB, free: 1.223 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003919/0.6172, allocations: 1.014 MB / 0.6548 GB, free: 212 kB / 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.002998/0.6202, allocations: 2.451 MB / 0.6572 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005025/0.6252, allocations: 3.015 MB / 0.6602 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6252, allocations: 8.062 kB / 0.6602 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009427/0.6262, allocations: 0.6785 MB / 0.6608 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.6276, allocations: 254.6 kB / 0.6611 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0455/0.6731, allocations: 29.4 MB / 0.6898 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005677/0.6787, allocations: 2.97 MB / 0.6927 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003635/0.6824, allocations: 1.486 MB / 0.6942 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002793/0.6852, allocations: 1.515 MB / 0.6956 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/0.6852, allocations: 0 / 0.6956 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08858/0.7738, allocations: 42.61 MB / 0.7372 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.27/20.04, allocations: 8 kB / 0.7373 GB, free: 7.949 MB / 0.5762 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.956142732000444] Failed to read output from testmodel.py, exit status != 0: 20.238095731998328 20.257903133 19.847475544999998 Calling exit ...