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.001665/0.001665, allocations: 122.2 kB / 17.84 MB, free: 5.203 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.001776/0.001776, allocations: 211.8 kB / 20.8 MB, free: 2.258 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.448/1.448, allocations: 207.6 MB / 231.2 MB, free: 4.125 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.315/0.315, allocations: 44.23 MB / 327.3 MB, free: 6.715 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",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.002236/0.002236, allocations: 75.88 kB / 462.9 MB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2962, allocations: 61.01 MB / 0.5117 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006296/0.3025, allocations: 7.088 MB / 0.5186 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.3064, allocations: 2.056 MB / 0.5206 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008538/0.3072, allocations: 35.88 kB / 0.5206 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.3084, allocations: 0.6384 MB / 0.5212 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006679/0.3091, allocations: 322.3 kB / 0.5216 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.3093, allocations: 47.89 kB / 0.5216 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004998/0.3098, allocations: 0.6185 MB / 0.5222 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.3103, allocations: 0.4916 MB / 0.5227 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.3105, allocations: 314.7 kB / 0.523 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/0.3109, allocations: 422.3 kB / 0.5234 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.311, allocations: 64 kB / 0.5234 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.3112, allocations: 107.9 kB / 0.5235 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.3114, allocations: 386.8 kB / 0.5239 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.3117, allocations: 457.2 kB / 0.5244 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009109/0.3126, allocations: 1.279 MB / 0.5256 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3126, allocations: 0 / 0.5256 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3126, allocations: 0 / 0.5256 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.3126, allocations: 0 / 0.5256 GB, free: 0.6211 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.001918/0.3145, allocations: 1.23 MB / 0.5268 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3146, allocations: 15.89 kB / 0.5268 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.263e-05/0.3146, allocations: 17.5 kB / 0.5268 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.3148, allocations: 161.7 kB / 0.527 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008354/0.3156, allocations: 160.1 kB / 0.5271 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007562/0.3164, allocations: 0.5053 MB / 0.5276 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.3164, allocations: 53.41 kB / 0.5277 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.3165, allocations: 55.97 kB / 0.5277 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.3189, allocations: 1.747 MB / 0.5294 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.319, allocations: 3.938 kB / 0.5295 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.319, allocations: 31.95 kB / 0.5295 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000773/0.3198, allocations: 409.1 kB / 0.5299 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.322, allocations: 1.192 MB / 0.531 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008159/0.3301, allocations: 6.574 MB / 0.5375 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.3306, allocations: 166.5 kB / 0.5376 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.3308, allocations: 92.72 kB / 0.5377 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3308, allocations: 7.938 kB / 0.5377 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.3309, allocations: 30.56 kB / 0.5377 GB, free: 3.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.3309, allocations: 4 kB / 0.5377 GB, free: 3.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009441/0.3318, allocations: 372.9 kB / 0.5381 GB, free: 3.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.3319, allocations: 55.41 kB / 0.5382 GB, free: 3.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.3332, allocations: 0.9579 MB / 0.5391 GB, free: 2.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.3332, allocations: 29.7 kB / 0.5391 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/0.3338, allocations: 0.7124 MB / 0.5398 GB, free: 1.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.3339, allocations: 67.55 kB / 0.5399 GB, free: 1.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.3341, allocations: 218.4 kB / 0.5401 GB, free: 1.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.3344, allocations: 390.8 kB / 0.5405 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.3349, allocations: 261.8 kB / 0.5407 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.3359, allocations: 0.9527 MB / 0.5416 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.3377, allocations: 1.297 MB / 0.5429 GB, free: 13.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/0.3377, allocations: 12 kB / 0.5429 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002104/0.3398, allocations: 1.17 MB / 0.5441 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.3398, allocations: 16 kB / 0.5441 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.3399, allocations: 24.09 kB / 0.5441 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.805e-05/0.3399, allocations: 36 kB / 0.5441 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/0.3407, allocations: 247.5 kB / 0.5444 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.23e-05/0.3407, allocations: 47.84 kB / 0.5444 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000762/0.3415, allocations: 158.9 kB / 0.5446 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.3416, allocations: 67.94 kB / 0.5446 GB, free: 11.84 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.0006722/0.3422, allocations: 483.2 kB / 0.5451 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3424, allocations: 79.48 kB / 0.5452 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007081/0.3431, allocations: 309.2 kB / 0.5455 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3431, allocations: 3.984 kB / 0.5455 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3431, allocations: 4 kB / 0.5455 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3431, allocations: 0 / 0.5455 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.344, allocations: 0.747 MB / 0.5462 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.344, allocations: 0 / 0.5462 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.3442, allocations: 31.97 kB / 0.5462 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3442, allocations: 0 / 0.5462 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3443, allocations: 4 kB / 0.5462 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3443, allocations: 4 kB / 0.5462 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3443, allocations: 0 / 0.5462 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.3449, allocations: 398.9 kB / 0.5466 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.345, allocations: 144.6 kB / 0.5468 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.3451, allocations: 11.98 kB / 0.5468 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.3454, allocations: 11.98 kB / 0.5468 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.3455, allocations: 11.98 kB / 0.5468 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3455, allocations: 15.92 kB / 0.5468 GB, free: 9.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007956/0.3463, allocations: 0.6239 MB / 0.5474 GB, free: 8.895 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3463, allocations: 0 / 0.5474 GB, free: 8.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008605/0.3471, allocations: 219.4 kB / 0.5476 GB, free: 8.68 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.001033/0.3482, allocations: 0.9305 MB / 0.5485 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3493, allocations: 0.5744 MB / 0.5491 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3494, allocations: 0 / 0.5491 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.3496, allocations: 97.36 kB / 0.5492 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.3502, allocations: 84.05 kB / 0.5493 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.3617, allocations: 7.782 MB / 0.5569 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009532/0.3627, allocations: 1.152 MB / 0.558 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006659/0.3633, allocations: 274 kB / 0.5582 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.3638, allocations: 355.3 kB / 0.5586 GB, free: 12.61 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3638, allocations: 0 / 0.5586 GB, free: 12.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.3975, allocations: 13.54 MB / 0.5718 GB, free: 15.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.921/10.32, allocations: 15.95 kB / 0.5718 GB, free: 15.04 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 13.057197126967367] Failed to read output from testmodel.py, exit status != 0: 10.458824780012947 10.48481603 10.167257577 Calling exit ...