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.001695/0.001695, allocations: 115.8 kB / 17.13 MB, free: 5.93 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.001957/0.001957, allocations: 212 kB / 20.09 MB, free: 2.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.435/1.435, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.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.3268/0.3268, allocations: 44.22 MB / 326.6 MB, free: 6.785 MB / 254.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.002226/0.002226, allocations: 67.91 kB / 462.2 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.27, allocations: 61 MB / 0.511 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006925/0.2769, allocations: 7.093 MB / 0.5179 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004019/0.2809, allocations: 2.052 MB / 0.5199 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008094/0.2817, allocations: 31.94 kB / 0.5199 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.2834, allocations: 0.6462 MB / 0.5206 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.2845, allocations: 318.3 kB / 0.5209 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2848, allocations: 47.95 kB / 0.5209 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008193/0.2856, allocations: 0.6106 MB / 0.5215 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005396/0.2861, allocations: 0.4994 MB / 0.522 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.2864, allocations: 314.7 kB / 0.5223 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.2869, allocations: 418.4 kB / 0.5227 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.111e-05/0.287, allocations: 63.94 kB / 0.5228 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.2872, allocations: 111.9 kB / 0.5229 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.2875, allocations: 390.7 kB / 0.5232 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.2877, allocations: 453.2 kB / 0.5237 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.2887, allocations: 1.282 MB / 0.5249 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2887, allocations: 0 / 0.5249 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2887, allocations: 0 / 0.5249 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.2888, allocations: 0 / 0.5249 GB, free: 0.6328 MB / 382.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.001949/0.2907, allocations: 1.218 MB / 0.5261 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2907, allocations: 11.89 kB / 0.5261 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001972/0.2909, allocations: 165.7 kB / 0.5263 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/0.2918, allocations: 160.1 kB / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007904/0.2926, allocations: 0.5053 MB / 0.5269 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.2926, allocations: 49.66 kB / 0.527 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/0.2927, allocations: 59.91 kB / 0.527 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.295, allocations: 1.755 MB / 0.5287 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2951, allocations: 0 / 0.5287 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.2951, allocations: 35.95 kB / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000751/0.2959, allocations: 401.1 kB / 0.5292 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.298, allocations: 1.196 MB / 0.5303 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007433/0.3054, allocations: 6.574 MB / 0.5367 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.3058, allocations: 158.5 kB / 0.5369 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.3061, allocations: 92.72 kB / 0.537 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3061, allocations: 8 kB / 0.537 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3061, allocations: 30.56 kB / 0.537 GB, free: 3.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.964e-06/0.3061, allocations: 4 kB / 0.537 GB, free: 3.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009129/0.3071, allocations: 372.9 kB / 0.5374 GB, free: 3.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.3071, allocations: 55.41 kB / 0.5374 GB, free: 3.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.3084, allocations: 0.9618 MB / 0.5384 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3084, allocations: 25.7 kB / 0.5384 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/0.3089, allocations: 0.7202 MB / 0.5391 GB, free: 1.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.309, allocations: 63.56 kB / 0.5392 GB, free: 1.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.3093, allocations: 218.4 kB / 0.5394 GB, free: 1.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.3095, allocations: 394.7 kB / 0.5397 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.31, allocations: 257.8 kB / 0.54 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.311, allocations: 0.9527 MB / 0.5409 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.3127, allocations: 1.297 MB / 0.5422 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.3127, allocations: 8 kB / 0.5422 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002008/0.3147, allocations: 1.17 MB / 0.5433 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.3148, allocations: 16.62 kB / 0.5434 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.3148, allocations: 24 kB / 0.5434 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.375e-05/0.3148, allocations: 36.06 kB / 0.5434 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.3156, allocations: 251.5 kB / 0.5436 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.823e-05/0.3156, allocations: 47.8 kB / 0.5437 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/0.3164, allocations: 162.8 kB / 0.5438 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/0.3165, allocations: 67.98 kB / 0.5439 GB, free: 11.88 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.0006225/0.3171, allocations: 475.2 kB / 0.5444 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.3172, allocations: 83.42 kB / 0.5444 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/0.3179, allocations: 308.4 kB / 0.5447 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3179, allocations: 3.984 kB / 0.5447 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3179, allocations: 0 / 0.5447 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3179, allocations: 4 kB / 0.5447 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.3189, allocations: 0.7431 MB / 0.5455 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3189, allocations: 0 / 0.5455 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.3192, allocations: 43.84 kB / 0.5455 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3192, allocations: 0 / 0.5455 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.3192, allocations: 4 kB / 0.5455 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3192, allocations: 0 / 0.5455 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3192, allocations: 0 / 0.5455 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000684/0.3199, allocations: 396.7 kB / 0.5459 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.32, allocations: 144.6 kB / 0.546 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.3201, allocations: 4 kB / 0.546 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.3204, allocations: 15.98 kB / 0.5461 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.3204, allocations: 11.97 kB / 0.5461 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3205, allocations: 4 kB / 0.5461 GB, free: 9.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008503/0.3213, allocations: 0.6278 MB / 0.5467 GB, free: 8.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3213, allocations: 0 / 0.5467 GB, free: 8.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009325/0.3222, allocations: 223.4 kB / 0.5469 GB, free: 8.73 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.001083/0.3233, allocations: 0.9266 MB / 0.5478 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3245, allocations: 0.5823 MB / 0.5484 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3245, allocations: 0 / 0.5484 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.3247, allocations: 98.11 kB / 0.5485 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.3253, allocations: 86.55 kB / 0.5485 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.3368, allocations: 7.791 MB / 0.5562 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/0.3377, allocations: 1.152 MB / 0.5573 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006599/0.3384, allocations: 274 kB / 0.5575 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.3388, allocations: 347.3 kB / 0.5579 GB, free: 12.66 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3388, allocations: 4 kB / 0.5579 GB, free: 12.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04432/0.3831, allocations: 13.5 MB / 0.5711 GB, free: 15.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.505/9.888, allocations: 12.05 kB / 0.5711 GB, free: 15.13 MB / 446.1 MB " [Timeout remaining time 650] (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: 12.59631972599891] Failed to read output from testmodel.py, exit status != 0: 9.965584842997487 9.995933858 9.701395057 Calling exit ...