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.001369/0.001369, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001742/0.001742, allocations: 216.4 kB / 22.99 MB, free: 4.977 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.43/1.43, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.232/0.232, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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="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.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.002565/0.002565, allocations: 68.52 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1245, allocations: 61.06 MB / 0.5162 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01339/0.1379, allocations: 9.847 MB / 0.5258 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.144, allocations: 2.672 MB / 0.5284 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.146, allocations: 63.81 kB / 0.5284 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003176/0.1491, allocations: 1.288 MB / 0.5297 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.1525, allocations: 1.272 MB / 0.5309 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.153, allocations: 71.91 kB / 0.531 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003831/0.1568, allocations: 2.761 MB / 0.5337 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002752/0.1596, allocations: 1.668 MB / 0.5353 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.1615, allocations: 1.07 MB / 0.5364 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.1638, allocations: 1.541 MB / 0.5379 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006255/0.1644, allocations: 208 kB / 0.5381 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.1657, allocations: 407.5 kB / 0.5385 GB, free: 196 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2492/0.4148, allocations: 1.448 MB / 0.5399 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.4169, allocations: 1.208 MB / 0.5411 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007359/0.4242, allocations: 5.533 MB / 0.5465 GB, free: 11.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4242, allocations: 0.6094 kB / 0.5465 GB, free: 11.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4242, allocations: 1.25 kB / 0.5465 GB, free: 11.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001993/0.4244, allocations: 0 / 0.5465 GB, free: 11.39 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.008997/0.4334, allocations: 3.635 MB / 0.55 GB, free: 9.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.4335, allocations: 11.75 kB / 0.55 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001646/0.4351, allocations: 0.6648 MB / 0.5507 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.4457, allocations: 2.968 MB / 0.5536 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.4507, allocations: 1.493 MB / 0.555 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.4509, allocations: 173 kB / 0.5552 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.4521, allocations: 222.4 kB / 0.5554 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.4701, allocations: 9.473 MB / 0.5647 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.97e-05/0.4702, allocations: 16.78 kB / 0.5647 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004389/0.4706, allocations: 111.2 kB / 0.5648 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003964/0.4746, allocations: 2.38 MB / 0.5671 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.4913, allocations: 8.647 MB / 0.5756 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04637/0.5377, allocations: 27.64 MB / 0.6025 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/0.5424, allocations: 2.045 MB / 0.6045 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.5438, allocations: 0.8963 MB / 0.6054 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008524/0.5523, allocations: 3.773 MB / 0.6091 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.5524, allocations: 42.12 kB / 0.6091 GB, free: 2.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 4.028e-06/0.5524, allocations: 0 / 0.6091 GB, free: 2.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.006224/0.5586, allocations: 2.749 MB / 0.6118 GB, free: 15.53 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.5586, allocations: 60.06 kB / 0.6119 GB, free: 15.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004066/0.5627, allocations: 2.748 MB / 0.6146 GB, free: 12.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.778e-05/0.5628, allocations: 40.44 kB / 0.6146 GB, free: 12.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/0.5649, allocations: 2.758 MB / 0.6173 GB, free: 9.891 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005269/0.5655, allocations: 0.5079 MB / 0.6178 GB, free: 9.391 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/0.5667, allocations: 0.9073 MB / 0.6187 GB, free: 8.473 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.5669, allocations: 365.5 kB / 0.619 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.5688, allocations: 1.352 MB / 0.6204 GB, free: 6.754 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004347/0.5732, allocations: 4.119 MB / 0.6244 GB, free: 1.293 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007584/0.5808, allocations: 5.96 MB / 0.6302 GB, free: 10.35 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.57e-05/0.5809, allocations: 28 kB / 0.6302 GB, free: 10.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009698/0.5906, allocations: 5.295 MB / 0.6354 GB, free: 5.148 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.249e-05/0.5906, allocations: 48 kB / 0.6354 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.5908, allocations: 100 kB / 0.6355 GB, free: 5.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.5909, allocations: 131.9 kB / 0.6357 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/0.5939, allocations: 0.9747 MB / 0.6366 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001642/0.594, allocations: 191.2 kB / 0.6368 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/0.5975, allocations: 0.618 MB / 0.6374 GB, free: 3.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006674/0.5981, allocations: 274.7 kB / 0.6377 GB, free: 2.824 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.004271/0.6024, allocations: 1.894 MB / 0.6395 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/0.6028, allocations: 226.5 kB / 0.6397 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.6034, allocations: 275.4 kB / 0.64 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.499e-05/0.6034, allocations: 17.97 kB / 0.64 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.6034, allocations: 0 / 0.64 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.6034, allocations: 3.984 kB / 0.64 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.6136, allocations: 5.456 MB / 0.6453 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.6136, allocations: 4 kB / 0.6453 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.6142, allocations: 135.8 kB / 0.6455 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/0.6143, allocations: 8 kB / 0.6455 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.6143, allocations: 32.55 kB / 0.6455 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.6143, allocations: 8 kB / 0.6455 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.6143, allocations: 11.94 kB / 0.6455 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.6168, allocations: 1.8 MB / 0.6473 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005719/0.6174, allocations: 218.2 kB / 0.6475 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.6176, allocations: 20 kB / 0.6475 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/0.6182, allocations: 38.38 kB / 0.6475 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.6183, allocations: 68.28 kB / 0.6476 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.6184, allocations: 39.98 kB / 0.6477 GB, free: 8.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002491/0.6209, allocations: 1.564 MB / 0.6492 GB, free: 6.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6209, allocations: 0 / 0.6492 GB, free: 6.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003681/0.6246, allocations: 1.021 MB / 0.6502 GB, free: 5.812 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.003003/0.6276, allocations: 2.449 MB / 0.6526 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005269/0.6329, allocations: 3.016 MB / 0.6555 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.6329, allocations: 0 / 0.6555 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009266/0.6338, allocations: 0.688 MB / 0.6562 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.6353, allocations: 249.8 kB / 0.6564 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05428/0.6896, allocations: 29.4 MB / 0.6851 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006091/0.6957, allocations: 2.417 MB / 0.6875 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003896/0.6996, allocations: 1.484 MB / 0.6889 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003303/0.7029, allocations: 1.522 MB / 0.6904 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of SimCode: time 3.617e-06/0.7029, allocations: 0 / 0.6904 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09175/0.7946, allocations: 38.22 MB / 0.7278 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.28, allocations: 4.062 kB / 0.7278 GB, free: 2.512 MB / 0.5606 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.23137141717598] Failed to read output from testmodel.py, exit status != 0: 15.417524011805654 15.444806315 15.015302613 Calling exit ...