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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 112.7 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.455/1.455, allocations: 207.6 MB / 230.5 MB, free: 4.043 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.3275/0.3275, allocations: 44.23 MB / 326.5 MB, free: 6.824 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 63.89 kB / 462.2 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2753, allocations: 61 MB / 0.5109 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006663/0.282, allocations: 7.105 MB / 0.5179 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.2861, allocations: 2.05 MB / 0.5199 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009762/0.2871, allocations: 27.94 kB / 0.5199 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.2884, allocations: 0.6422 MB / 0.5205 GB, free: 5.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007387/0.2891, allocations: 326.3 kB / 0.5208 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2893, allocations: 43.89 kB / 0.5209 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005211/0.2899, allocations: 0.6107 MB / 0.5215 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.2904, allocations: 0.5033 MB / 0.522 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.2906, allocations: 306.7 kB / 0.5222 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.291, allocations: 418.4 kB / 0.5226 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.407e-05/0.2911, allocations: 60 kB / 0.5227 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.2913, allocations: 119.8 kB / 0.5228 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.2915, allocations: 386.8 kB / 0.5232 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.2918, allocations: 453.2 kB / 0.5236 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008836/0.2927, allocations: 1.279 MB / 0.5249 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2927, allocations: 0 / 0.5249 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2927, allocations: 0 / 0.5249 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.2927, allocations: 3.938 kB / 0.5249 GB, free: 0.6445 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.001721/0.2944, allocations: 1.218 MB / 0.5261 GB, free: 15.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2944, allocations: 15.89 kB / 0.5261 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/0.2946, allocations: 169.6 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007534/0.2954, allocations: 160.1 kB / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.2962, allocations: 0.4975 MB / 0.5269 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.2962, allocations: 45.66 kB / 0.5269 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.199e-05/0.2963, allocations: 63.91 kB / 0.527 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.2985, allocations: 1.743 MB / 0.5287 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2985, allocations: 11.94 kB / 0.5287 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.2986, allocations: 31.97 kB / 0.5287 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007012/0.2993, allocations: 405.1 kB / 0.5291 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.3013, allocations: 1.188 MB / 0.5303 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007233/0.3085, allocations: 6.578 MB / 0.5367 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.3089, allocations: 158.5 kB / 0.5368 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.3091, allocations: 100.7 kB / 0.5369 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.3091, allocations: 0 / 0.5369 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3092, allocations: 34.56 kB / 0.537 GB, free: 3.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.3092, allocations: 0 / 0.537 GB, free: 3.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000861/0.31, allocations: 372.9 kB / 0.5373 GB, free: 3.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.3101, allocations: 55.41 kB / 0.5374 GB, free: 3.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.3112, allocations: 0.9618 MB / 0.5383 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3113, allocations: 33.64 kB / 0.5384 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/0.3118, allocations: 0.7125 MB / 0.5391 GB, free: 1.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.3118, allocations: 63.56 kB / 0.5391 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.3121, allocations: 222.4 kB / 0.5393 GB, free: 1.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3123, allocations: 386.8 kB / 0.5397 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.3127, allocations: 261.8 kB / 0.5399 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.3138, allocations: 0.9487 MB / 0.5409 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.3153, allocations: 1.301 MB / 0.5421 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.3153, allocations: 8 kB / 0.5421 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001938/0.3173, allocations: 1.173 MB / 0.5433 GB, free: 12.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.3173, allocations: 16 kB / 0.5433 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.3173, allocations: 24 kB / 0.5433 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.567e-05/0.3174, allocations: 36 kB / 0.5434 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/0.3181, allocations: 244.3 kB / 0.5436 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.971e-05/0.3182, allocations: 51.8 kB / 0.5436 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.3189, allocations: 166.8 kB / 0.5438 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/0.319, allocations: 67.98 kB / 0.5439 GB, free: 11.9 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.0007138/0.3197, allocations: 471.2 kB / 0.5443 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.3198, allocations: 79.42 kB / 0.5444 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007042/0.3205, allocations: 312.4 kB / 0.5447 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3205, allocations: 0 / 0.5447 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.3205, allocations: 4 kB / 0.5447 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3205, allocations: 0 / 0.5447 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/0.3215, allocations: 0.743 MB / 0.5454 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3215, allocations: 8 kB / 0.5454 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.3217, allocations: 31.97 kB / 0.5455 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3217, allocations: 4 kB / 0.5455 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3217, allocations: 0 / 0.5455 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3217, allocations: 0 / 0.5455 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3217, allocations: 0 / 0.5455 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.3223, allocations: 400.2 kB / 0.5458 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.3225, allocations: 144.6 kB / 0.546 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.3226, allocations: 3.938 kB / 0.546 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.3229, allocations: 15.98 kB / 0.546 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.3229, allocations: 11.98 kB / 0.546 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3229, allocations: 11.92 kB / 0.546 GB, free: 9.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007728/0.3237, allocations: 0.6239 MB / 0.5466 GB, free: 8.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3237, allocations: 0 / 0.5466 GB, free: 8.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000834/0.3245, allocations: 227.4 kB / 0.5469 GB, free: 8.746 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.000952/0.3255, allocations: 0.9266 MB / 0.5478 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.3266, allocations: 0.5802 MB / 0.5483 GB, free: 7.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3266, allocations: 0 / 0.5483 GB, free: 7.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.3268, allocations: 99.86 kB / 0.5484 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.3274, allocations: 80.98 kB / 0.5485 GB, free: 7.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.3382, allocations: 7.786 MB / 0.5561 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.3392, allocations: 1.144 MB / 0.5572 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006739/0.3399, allocations: 285.9 kB / 0.5575 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.3404, allocations: 347.3 kB / 0.5578 GB, free: 12.68 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3404, allocations: 0 / 0.5578 GB, free: 12.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/0.3825, allocations: 13.51 MB / 0.571 GB, free: 15.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.557/9.94, allocations: 7.938 kB / 0.571 GB, free: 15.15 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: 12.604936451185495] Failed to read output from testmodel.py, exit status != 0: 10.020707319956273 10.043388317 9.746161005 Calling exit ...