Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 109.5 kB / 20.18 MB, free: 1.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 206.6 kB / 23.43 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.2 MB / 256.8 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2398/0.2398, allocations: 46.88 MB / 360 MB, free: 4.754 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 83.88 kB / 0.495 GB, free: 8.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3463, allocations: 65.99 MB / 0.5595 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008417/0.3548, allocations: 6.292 MB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004387/0.3591, allocations: 2.002 MB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006734/0.3598, allocations: 27.94 kB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.3613, allocations: 0.619 MB / 0.5682 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000532/0.3619, allocations: 206.9 kB / 0.5684 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.3621, allocations: 63.86 kB / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.3626, allocations: 418 kB / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006062/0.3633, allocations: 374.7 kB / 0.5692 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003338/0.3636, allocations: 215.1 kB / 0.5694 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.364, allocations: 306.8 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.3641, allocations: 36 kB / 0.5697 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.3643, allocations: 91.88 kB / 0.5698 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.3646, allocations: 271.2 kB / 0.5701 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.3649, allocations: 306.1 kB / 0.5704 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3659, allocations: 0.8283 MB / 0.5712 GB, free: 8.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3659, allocations: 0 / 0.5712 GB, free: 8.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3659, allocations: 0 / 0.5712 GB, free: 8.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3659, allocations: 0 / 0.5712 GB, free: 8.953 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001624/0.3675, allocations: 0.965 MB / 0.5721 GB, free: 7.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3676, allocations: 8.031 kB / 0.5721 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.3677, allocations: 114.7 kB / 0.5722 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007671/0.3685, allocations: 156.3 kB / 0.5724 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/0.3692, allocations: 454 kB / 0.5728 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.3692, allocations: 33.36 kB / 0.5729 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.3693, allocations: 47.92 kB / 0.5729 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.3707, allocations: 1.078 MB / 0.574 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.3708, allocations: 7.938 kB / 0.574 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.3708, allocations: 23.98 kB / 0.574 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003533/0.3712, allocations: 192.3 kB / 0.5742 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3723, allocations: 0.7161 MB / 0.5749 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004515/0.3768, allocations: 4.643 MB / 0.5794 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.377, allocations: 62.47 kB / 0.5795 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3771, allocations: 52.83 kB / 0.5795 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.3771, allocations: 0 / 0.5795 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/0.3772, allocations: 38.56 kB / 0.5796 GB, free: 15.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.3772, allocations: 0 / 0.5796 GB, free: 15.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005418/0.3777, allocations: 217 kB / 0.5798 GB, free: 15.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3778, allocations: 51.41 kB / 0.5798 GB, free: 15.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.3788, allocations: 0.8166 MB / 0.5806 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.3788, allocations: 25.7 kB / 0.5806 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/0.3793, allocations: 0.5218 MB / 0.5811 GB, free: 14.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.3793, allocations: 31.83 kB / 0.5812 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.3796, allocations: 174.5 kB / 0.5813 GB, free: 14.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.3798, allocations: 370.8 kB / 0.5817 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.3801, allocations: 181.9 kB / 0.5819 GB, free: 13.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/0.3809, allocations: 0.7428 MB / 0.5826 GB, free: 12.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.3821, allocations: 0.9781 MB / 0.5835 GB, free: 11.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.3821, allocations: 4 kB / 0.5835 GB, free: 11.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001404/0.3835, allocations: 0.8726 MB / 0.5844 GB, free: 10.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.3836, allocations: 16 kB / 0.5844 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.3836, allocations: 20 kB / 0.5844 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.383e-05/0.3836, allocations: 27.94 kB / 0.5845 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.3841, allocations: 175.7 kB / 0.5846 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-05/0.3842, allocations: 39.8 kB / 0.5847 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.3847, allocations: 119.5 kB / 0.5848 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.3848, allocations: 52 kB / 0.5848 GB, free: 9.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,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 (92): * Single equations (assignments): 92 * 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.0004738/0.3853, allocations: 363.4 kB / 0.5852 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.3854, allocations: 63.58 kB / 0.5852 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.3855, allocations: 65.22 kB / 0.5853 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3855, allocations: 0 / 0.5853 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3855, allocations: 0 / 0.5853 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3855, allocations: 4 kB / 0.5853 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.3861, allocations: 0.4935 MB / 0.5858 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3861, allocations: 4 kB / 0.5858 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.3862, allocations: 11.98 kB / 0.5858 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3862, allocations: 0 / 0.5858 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3862, allocations: 3.938 kB / 0.5858 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3862, allocations: 0 / 0.5858 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.3862, allocations: 4 kB / 0.5858 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.3866, allocations: 279.1 kB / 0.5861 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.3868, allocations: 136.7 kB / 0.5862 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.3868, allocations: 3.938 kB / 0.5862 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.387, allocations: 8 kB / 0.5862 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.3871, allocations: 11.97 kB / 0.5862 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3871, allocations: 0 / 0.5862 GB, free: 8.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007003/0.3878, allocations: 0.5302 MB / 0.5867 GB, free: 7.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3878, allocations: 0 / 0.5867 GB, free: 7.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006708/0.3885, allocations: 139.7 kB / 0.5869 GB, free: 7.734 MB / 430.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 (3): * Single equations (assignments): 3 * 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.0008179/0.3893, allocations: 0.8058 MB / 0.5877 GB, free: 6.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.39, allocations: 416.4 kB / 0.5881 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.39, allocations: 0 / 0.5881 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3901, allocations: 47.94 kB / 0.5881 GB, free: 6.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.3907, allocations: 96.17 kB / 0.5882 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008146/0.3988, allocations: 6.108 MB / 0.5942 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007444/0.3995, allocations: 0.9872 MB / 0.5951 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005017/0.4, allocations: 208.8 kB / 0.5953 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.4003, allocations: 231.4 kB / 0.5955 GB, free: 14.16 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4003, allocations: 0 / 0.5955 GB, free: 14.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.4378, allocations: 11.07 MB / 0.6064 GB, free: 3.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.614/10.05, allocations: 11.08 kB / 0.6064 GB, free: 3.172 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.964530801051296] Failed to read output from testmodel.py, exit status != 0: ['time'] 10.128431395045482 10.147880754000001 9.778208515 Calling exit ...