Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.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.001985/0.001985, allocations: 111.7 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.002285/0.002285, allocations: 221.1 kB / 23.01 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.438/1.438, 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.2172/0.2172, allocations: 44.24 MB / 330.3 MB, free: 9.621 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.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",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.002271/0.002271, allocations: 71.91 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1258, allocations: 61.05 MB / 0.5162 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009608/0.1354, allocations: 7.117 MB / 0.5231 GB, free: 192 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004978/0.1404, allocations: 2.065 MB / 0.5251 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008681/0.1412, allocations: 27.94 kB / 0.5252 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.1429, allocations: 0.6422 MB / 0.5258 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009964/0.1439, allocations: 326.3 kB / 0.5261 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1442, allocations: 43.89 kB / 0.5261 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000898/0.1451, allocations: 0.6146 MB / 0.5267 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007977/0.1459, allocations: 0.5228 MB / 0.5273 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004882/0.1463, allocations: 302.7 kB / 0.5275 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/0.147, allocations: 418.4 kB / 0.5279 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.1471, allocations: 56 kB / 0.528 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.1474, allocations: 119.9 kB / 0.5281 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004385/0.1478, allocations: 386.8 kB / 0.5285 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.1483, allocations: 465 kB / 0.5289 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.1498, allocations: 1.287 MB / 0.5302 GB, free: 8.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1498, allocations: 0 / 0.5302 GB, free: 8.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1498, allocations: 0 / 0.5302 GB, free: 8.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.1498, allocations: 0 / 0.5302 GB, free: 8.93 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002082/0.1519, allocations: 1.143 MB / 0.5313 GB, free: 7.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.152, allocations: 8.031 kB / 0.5313 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002106/0.1522, allocations: 165.6 kB / 0.5315 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008082/0.153, allocations: 164.1 kB / 0.5316 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008029/0.1538, allocations: 443.7 kB / 0.532 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.1538, allocations: 45.66 kB / 0.5321 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.1539, allocations: 63.91 kB / 0.5321 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.1564, allocations: 1.747 MB / 0.5339 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.1564, allocations: 11.94 kB / 0.5339 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/0.1565, allocations: 27.97 kB / 0.5339 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007568/0.1572, allocations: 401.2 kB / 0.5343 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.1594, allocations: 1.199 MB / 0.5354 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2379/0.3973, allocations: 6.522 MB / 0.5418 GB, free: 24.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.3978, allocations: 160.6 kB / 0.542 GB, free: 24.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.398, allocations: 88.97 kB / 0.5421 GB, free: 24.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.3981, allocations: 10.95 kB / 0.5421 GB, free: 24.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3981, allocations: 32.06 kB / 0.5421 GB, free: 24.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 2.364e-06/0.3981, allocations: 1.219 kB / 0.5421 GB, free: 24.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008949/0.399, allocations: 370.4 kB / 0.5424 GB, free: 24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.399, allocations: 56.41 kB / 0.5425 GB, free: 23.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.4003, allocations: 0.9651 MB / 0.5434 GB, free: 23.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4003, allocations: 25.7 kB / 0.5435 GB, free: 23.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.4007, allocations: 0.7106 MB / 0.5442 GB, free: 23.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.4007, allocations: 67.45 kB / 0.5442 GB, free: 23.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.401, allocations: 223 kB / 0.5444 GB, free: 23.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4011, allocations: 389 kB / 0.5448 GB, free: 23.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.4016, allocations: 261.1 kB / 0.5451 GB, free: 23.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/0.4024, allocations: 0.9511 MB / 0.546 GB, free: 22.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.4038, allocations: 1.298 MB / 0.5473 GB, free: 20.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.4039, allocations: 7.156 kB / 0.5473 GB, free: 20.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001925/0.4058, allocations: 1.172 MB / 0.5484 GB, free: 20.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.4058, allocations: 16.69 kB / 0.5484 GB, free: 20.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/0.4058, allocations: 24.53 kB / 0.5484 GB, free: 20.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.035e-05/0.4059, allocations: 32.25 kB / 0.5485 GB, free: 20.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.4067, allocations: 250 kB / 0.5487 GB, free: 20.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.667e-05/0.4067, allocations: 57.3 kB / 0.5488 GB, free: 20.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008718/0.4076, allocations: 159.5 kB / 0.5489 GB, free: 20.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/0.4077, allocations: 65.45 kB / 0.549 GB, free: 20.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 21 (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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * 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.0006687/0.4083, allocations: 469.2 kB / 0.5494 GB, free: 20.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.4085, allocations: 75.2 kB / 0.5495 GB, free: 20.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006984/0.4092, allocations: 317.2 kB / 0.5498 GB, free: 20.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4092, allocations: 1.969 kB / 0.5498 GB, free: 20.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4092, allocations: 5.25 kB / 0.5498 GB, free: 20.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4092, allocations: 0.7031 kB / 0.5498 GB, free: 20.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4103, allocations: 0.7045 MB / 0.5505 GB, free: 19.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4103, allocations: 0 / 0.5505 GB, free: 19.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.4105, allocations: 35.22 kB / 0.5505 GB, free: 19.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4105, allocations: 1.25 kB / 0.5505 GB, free: 19.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.4105, allocations: 3.562 kB / 0.5505 GB, free: 19.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4105, allocations: 0.8125 kB / 0.5505 GB, free: 19.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4105, allocations: 5.281 kB / 0.5505 GB, free: 19.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.4111, allocations: 399 kB / 0.5509 GB, free: 19.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.4113, allocations: 76.53 kB / 0.551 GB, free: 19.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.4114, allocations: 7.25 kB / 0.551 GB, free: 19.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.4116, allocations: 11.92 kB / 0.551 GB, free: 19.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.4117, allocations: 17.86 kB / 0.551 GB, free: 19.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4117, allocations: 8.719 kB / 0.551 GB, free: 19.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007615/0.4125, allocations: 0.6259 MB / 0.5517 GB, free: 19.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4125, allocations: 0 / 0.5517 GB, free: 19.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001092/0.4136, allocations: 220.4 kB / 0.5519 GB, free: 19.08 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0008028/0.4144, allocations: 0.92 MB / 0.5528 GB, free: 18.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.4156, allocations: 0.5788 MB / 0.5533 GB, free: 18.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4156, allocations: 0 / 0.5533 GB, free: 18.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.4159, allocations: 100.7 kB / 0.5534 GB, free: 18.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.4164, allocations: 92.64 kB / 0.5535 GB, free: 18.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.432, allocations: 7.784 MB / 0.5611 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.4333, allocations: 1.147 MB / 0.5622 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001291/0.4345, allocations: 279.1 kB / 0.5625 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006151/0.4352, allocations: 350.5 kB / 0.5628 GB, free: 11.87 MB / 414.1 MB Notification: Performance of SimCode: time 2.515e-06/0.4352, allocations: 0 / 0.5628 GB, free: 11.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06368/0.4988, allocations: 14.34 MB / 0.5768 GB, free: 6.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.15, allocations: 4.859 kB / 0.5768 GB, free: 6.648 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.06002811899816] Failed to read output from testmodel.py, exit status != 0: 13.266644926996378 13.280982187 13.127423759 Calling exit ...