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.001321/0.001321, allocations: 114.5 kB / 19.69 MB, free: 2.188 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.001476/0.001476, allocations: 216 kB / 23 MB, free: 5.004 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.462/1.462, allocations: 207.6 MB / 233.8 MB, free: 10 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.2288/0.2288, allocations: 44.24 MB / 330.3 MB, free: 9.527 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="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.002549/0.002549, allocations: 66.56 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1221, allocations: 61.05 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01414/0.1362, allocations: 11.36 MB / 0.5272 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006353/0.1426, allocations: 2.805 MB / 0.53 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.1442, allocations: 59.81 kB / 0.53 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.1474, allocations: 1.339 MB / 0.5313 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.1507, allocations: 1.268 MB / 0.5326 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.1513, allocations: 79.89 kB / 0.5327 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004293/0.1556, allocations: 2.757 MB / 0.5353 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.1585, allocations: 1.683 MB / 0.537 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.1606, allocations: 1.066 MB / 0.538 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2247/0.3853, allocations: 1.601 MB / 0.5396 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007814/0.386, allocations: 210.8 kB / 0.5398 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.3875, allocations: 0.4944 MB / 0.5403 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001836/0.3893, allocations: 1.446 MB / 0.5417 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003109/0.3924, allocations: 1.72 MB / 0.5434 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007467/0.3999, allocations: 5.508 MB / 0.5487 GB, free: 9.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3999, allocations: 0.5938 kB / 0.5487 GB, free: 9.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3999, allocations: 0 / 0.5487 GB, free: 9.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002281/0.4001, allocations: 0.8438 kB / 0.5487 GB, free: 9.648 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.01017/0.4103, allocations: 3.639 MB / 0.5523 GB, free: 8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4104, allocations: 8.625 kB / 0.5523 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002088/0.4124, allocations: 0.6681 MB / 0.553 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.4234, allocations: 2.962 MB / 0.5559 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/0.428, allocations: 1.472 MB / 0.5573 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.4282, allocations: 177.2 kB / 0.5575 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/0.4295, allocations: 226.6 kB / 0.5577 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.4462, allocations: 9.473 MB / 0.5669 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.299e-05/0.4463, allocations: 16.75 kB / 0.5669 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000418/0.4467, allocations: 109.5 kB / 0.5671 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003798/0.4505, allocations: 2.374 MB / 0.5694 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/0.4677, allocations: 8.667 MB / 0.5778 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05152/0.5192, allocations: 29.06 MB / 0.6062 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005095/0.5243, allocations: 2.043 MB / 0.6082 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.5259, allocations: 0.9032 MB / 0.6091 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00976/0.5357, allocations: 3.956 MB / 0.613 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.5357, allocations: 39.22 kB / 0.613 GB, free: 12.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.877e-06/0.5357, allocations: 0 / 0.613 GB, free: 12.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006847/0.5426, allocations: 2.746 MB / 0.6157 GB, free: 9.934 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.5426, allocations: 64.06 kB / 0.6157 GB, free: 9.859 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/0.5478, allocations: 2.566 MB / 0.6182 GB, free: 7.266 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.548, allocations: 39.73 kB / 0.6183 GB, free: 7.223 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00251/0.5505, allocations: 2.772 MB / 0.621 GB, free: 4.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007383/0.5512, allocations: 0.5034 MB / 0.6215 GB, free: 3.965 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001863/0.5531, allocations: 0.9126 MB / 0.6224 GB, free: 3.043 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.5533, allocations: 357.9 kB / 0.6227 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/0.5558, allocations: 1.359 MB / 0.624 GB, free: 1.324 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005272/0.561, allocations: 4.115 MB / 0.6281 GB, free: 11.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008006/0.569, allocations: 5.964 MB / 0.6339 GB, free: 4.922 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.5691, allocations: 28 kB / 0.6339 GB, free: 4.895 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01057/0.5797, allocations: 5.291 MB / 0.6391 GB, free: 15.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.5798, allocations: 48 kB / 0.6391 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/0.58, allocations: 96 kB / 0.6392 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.5801, allocations: 132 kB / 0.6393 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003276/0.5834, allocations: 0.9784 MB / 0.6403 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000187/0.5836, allocations: 191.2 kB / 0.6405 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/0.5871, allocations: 0.617 MB / 0.6411 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007465/0.5878, allocations: 283.3 kB / 0.6413 GB, free: 13.46 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.004392/0.5922, allocations: 1.893 MB / 0.6432 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/0.5927, allocations: 230.4 kB / 0.6434 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007742/0.5935, allocations: 273.6 kB / 0.6437 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.161e-05/0.5935, allocations: 19.12 kB / 0.6437 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.5935, allocations: 0 / 0.6437 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5935, allocations: 3.984 kB / 0.6437 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.6061, allocations: 5.586 MB / 0.6492 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.6061, allocations: 4 kB / 0.6492 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.6068, allocations: 140.4 kB / 0.6493 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/0.6068, allocations: 8 kB / 0.6493 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-05/0.6069, allocations: 24 kB / 0.6493 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.637e-05/0.6069, allocations: 11.92 kB / 0.6493 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.6069, allocations: 8 kB / 0.6493 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.6096, allocations: 1.796 MB / 0.6511 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007022/0.6103, allocations: 234 kB / 0.6513 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004576/0.6108, allocations: 16 kB / 0.6513 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/0.6116, allocations: 38.38 kB / 0.6514 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.6117, allocations: 64.34 kB / 0.6514 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.6118, allocations: 54.58 kB / 0.6515 GB, free: 2.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003462/0.6153, allocations: 1.553 MB / 0.653 GB, free: 1.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6153, allocations: 0 / 0.653 GB, free: 1.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004562/0.6199, allocations: 1.02 MB / 0.654 GB, free: 316 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.003413/0.6233, allocations: 2.444 MB / 0.6564 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005594/0.6289, allocations: 3.015 MB / 0.6593 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.6289, allocations: 0.5 kB / 0.6593 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.63, allocations: 0.6863 MB / 0.66 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.632, allocations: 256.6 kB / 0.6602 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05456/0.6866, allocations: 29.41 MB / 0.689 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0057/0.6923, allocations: 2.963 MB / 0.6919 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004155/0.6964, allocations: 1.484 MB / 0.6933 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003602/0.7001, allocations: 1.519 MB / 0.6948 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/0.7001, allocations: 3.938 kB / 0.6948 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0986/0.7986, allocations: 42.57 MB / 0.7364 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.83/18.63, allocations: 3.859 kB / 0.7364 GB, free: 8.094 MB / 0.5762 GB " [Timeout remaining time 641] (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: 21.488087029894814] Failed to read output from testmodel.py, exit status != 0: 18.761855140095577 18.779136955 18.375401211 Calling exit ...