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.0008615/0.0008615, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009883/0.0009883, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8517/0.8517, allocations: 158.6 MB / 185 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] 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.1283/0.1283, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.474e-05, allocations: 6.078 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.004957/0.004981, allocations: 6.299 MB / 413.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.007225, allocations: 1.944 MB / 415.1 MB, free: 9.957 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.007518, allocations: 31.94 kB / 415.1 MB, free: 9.926 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008379/0.008356, allocations: 0.6383 MB / 415.7 MB, free: 9.285 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.008763, allocations: 334 kB / 416.1 MB, free: 8.957 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.008889, allocations: 55.75 kB / 416.1 MB, free: 8.902 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.009305, allocations: 0.6299 MB / 416.7 MB, free: 8.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.009734, allocations: 0.5226 MB / 417.3 MB, free: 7.742 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.01005, allocations: 434.8 kB / 417.7 MB, free: 7.316 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.0104, allocations: 378.9 kB / 418.1 MB, free: 6.945 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.01045, allocations: 59.98 kB / 418.1 MB, free: 6.887 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.01071, allocations: 119.9 kB / 418.2 MB, free: 6.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.01093, allocations: 402.8 kB / 418.6 MB, free: 6.375 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.01109, allocations: 255.1 kB / 418.9 MB, free: 6.125 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008087/0.0119, allocations: 1.261 MB / 420.1 MB, free: 4.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.0119, allocations: 0 / 420.1 MB, free: 4.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0119, allocations: 0 / 420.1 MB, free: 4.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.01191, allocations: 0 / 420.1 MB, free: 4.859 MB / 394.7 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.001141/0.01305, allocations: 1.139 MB / 421.3 MB, free: 3.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.01309, allocations: 8.031 kB / 421.3 MB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.0132, allocations: 161.7 kB / 421.4 MB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.01366, allocations: 192 kB / 421.6 MB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.01413, allocations: 454.9 kB / 422.1 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.01416, allocations: 45.66 kB / 422.1 MB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.01421, allocations: 68.22 kB / 422.2 MB, free: 2.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.01552, allocations: 1.736 MB / 423.9 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.01554, allocations: 7.938 kB / 423.9 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.01558, allocations: 27.97 kB / 424 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003616/0.01594, allocations: 389.2 kB / 424.3 MB, free: 460 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.01708, allocations: 1.157 MB / 425.5 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003779/0.02085, allocations: 6.259 MB / 431.8 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.02109, allocations: 170.5 kB / 431.9 MB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.0212, allocations: 88.78 kB / 432 MB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.02122, allocations: 4 kB / 432 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.02123, allocations: 30.56 kB / 432 MB, free: 8.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.02124, allocations: 0 / 432 MB, free: 8.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004742/0.02171, allocations: 380.9 kB / 432.4 MB, free: 8.098 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.02174, allocations: 55.41 kB / 432.5 MB, free: 8.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/0.02244, allocations: 1.004 MB / 433.5 MB, free: 7.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.02245, allocations: 25.7 kB / 433.5 MB, free: 6.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.02274, allocations: 0.7047 MB / 434.2 MB, free: 6.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.02277, allocations: 59.62 kB / 434.3 MB, free: 6.211 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.02292, allocations: 218.4 kB / 434.5 MB, free: 5.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.02303, allocations: 390.8 kB / 434.9 MB, free: 5.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.0233, allocations: 265.8 kB / 435.1 MB, free: 5.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.02383, allocations: 0.9448 MB / 436.1 MB, free: 4.047 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.02467, allocations: 1.297 MB / 437.4 MB, free: 2.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.02468, allocations: 11.94 kB / 437.4 MB, free: 2.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001031/0.02571, allocations: 1.165 MB / 438.5 MB, free: 1.215 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.02573, allocations: 19.94 kB / 438.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.02574, allocations: 24 kB / 438.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.02577, allocations: 32 kB / 438.6 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.02613, allocations: 252.2 kB / 438.9 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.02615, allocations: 51.8 kB / 438.9 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.0265, allocations: 166.8 kB / 439.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.02654, allocations: 64 kB / 439.1 MB, free: 0.6172 MB / 410.7 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.0003318/0.02688, allocations: 467 kB / 439.6 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.02693, allocations: 83.47 kB / 439.7 MB, free: 68 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.02735, allocations: 316.5 kB / 440 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.02735, allocations: 3.938 kB / 440 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.02736, allocations: 0 / 440 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.02736, allocations: 0 / 440 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.02786, allocations: 0.672 MB / 440.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.02786, allocations: 7.922 kB / 440.7 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.02794, allocations: 35.91 kB / 440.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.02795, allocations: 4 kB / 440.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.02796, allocations: 15.92 kB / 440.7 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.02796, allocations: 0 / 440.7 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02796, allocations: 0 / 440.7 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.02833, allocations: 378.9 kB / 441.1 MB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.02841, allocations: 75.45 kB / 441.2 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.02845, allocations: 3.938 kB / 441.2 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.0286, allocations: 15.98 kB / 441.2 MB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.02865, allocations: 19.97 kB / 441.2 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.02866, allocations: 7.984 kB / 441.2 MB, free: 14.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004607/0.02912, allocations: 0.6239 MB / 441.8 MB, free: 13.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02912, allocations: 0 / 441.8 MB, free: 13.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006278/0.02974, allocations: 219.5 kB / 442 MB, free: 13.62 MB / 426.7 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.000655/0.0304, allocations: 0.9304 MB / 443 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005459/0.03094, allocations: 0.575 MB / 443.6 MB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.03095, allocations: 0 / 443.6 MB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.03106, allocations: 103.9 kB / 443.7 MB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.0314, allocations: 92.84 kB / 443.7 MB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.03723, allocations: 7.717 MB / 451.5 MB, free: 3.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.03762, allocations: 0.5577 MB / 452 MB, free: 2.805 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003531/0.03797, allocations: 274 kB / 452.3 MB, free: 2.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.03824, allocations: 352.4 kB / 452.6 MB, free: 2.191 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.03824, allocations: 0 / 452.6 MB, free: 2.191 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.06166, allocations: 14.23 MB / 466.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.385, allocations: 12 kB / 466.9 MB, free: 3.934 MB / 442.7 MB " [Timeout remaining time 653] (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: 9.523882416076958] Failed to read output from testmodel.py, exit status != 0: 7.4708794401958585 7.663074084 7.648983083 Calling exit ...