Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001726/0.001726, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002155/0.002155, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.63/1.63, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2392/0.2392, allocations: 46.96 MB / 361.6 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 67.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3428, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008396/0.3511, allocations: 5.612 MB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004549/0.3557, allocations: 1.866 MB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/0.3564, allocations: 31.88 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.3579, allocations: 0.5995 MB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005516/0.3584, allocations: 202.9 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.3587, allocations: 63.86 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005604/0.3593, allocations: 414.2 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.3599, allocations: 419 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.3602, allocations: 227.1 kB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.3607, allocations: 278.9 kB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.392e-05/0.3607, allocations: 36 kB / 0.5713 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.361, allocations: 91.89 kB / 0.5714 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.3613, allocations: 271.1 kB / 0.5717 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.3615, allocations: 238.4 kB / 0.5719 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.3625, allocations: 0.831 MB / 0.5727 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3625, allocations: 0 / 0.5727 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3625, allocations: 0 / 0.5727 GB, free: 8.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3625, allocations: 0 / 0.5727 GB, free: 8.996 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.001563/0.3641, allocations: 0.8896 MB / 0.5736 GB, free: 8.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3641, allocations: 8.031 kB / 0.5736 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/0.3649, allocations: 160.2 kB / 0.5737 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.3656, allocations: 396.1 kB / 0.5741 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.3657, allocations: 29.36 kB / 0.5741 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.3657, allocations: 48.11 kB / 0.5742 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.3672, allocations: 1.078 MB / 0.5752 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.3672, allocations: 7.938 kB / 0.5752 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.3673, allocations: 27.92 kB / 0.5753 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003412/0.3676, allocations: 184.5 kB / 0.5754 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.3688, allocations: 0.7165 MB / 0.5761 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00447/0.3733, allocations: 4.315 MB / 0.5804 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.3734, allocations: 54.53 kB / 0.5804 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3735, allocations: 44.91 kB / 0.5805 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3736, allocations: 4 kB / 0.5805 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.3736, allocations: 34.55 kB / 0.5805 GB, free: 0.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.394e-06/0.3736, allocations: 0 / 0.5805 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005356/0.3741, allocations: 209.1 kB / 0.5807 GB, free: 468 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3742, allocations: 59.34 kB / 0.5807 GB, free: 396 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/0.3752, allocations: 0.7769 MB / 0.5815 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3752, allocations: 25.7 kB / 0.5815 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.3757, allocations: 0.526 MB / 0.582 GB, free: 15.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.3757, allocations: 27.89 kB / 0.5821 GB, free: 15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.376, allocations: 170.5 kB / 0.5822 GB, free: 14.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002638/0.3763, allocations: 366.8 kB / 0.5826 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.3766, allocations: 181.9 kB / 0.5828 GB, free: 14.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008821/0.3775, allocations: 0.7351 MB / 0.5835 GB, free: 13.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.3787, allocations: 0.9781 MB / 0.5844 GB, free: 12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.3787, allocations: 8 kB / 0.5844 GB, free: 12 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00142/0.3802, allocations: 0.8642 MB / 0.5853 GB, free: 11.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.3802, allocations: 16.97 kB / 0.5853 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.3802, allocations: 20 kB / 0.5853 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.971e-05/0.3803, allocations: 24 kB / 0.5853 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.3807, allocations: 183.7 kB / 0.5855 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.367e-05/0.3808, allocations: 47.78 kB / 0.5856 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.3814, allocations: 107.2 kB / 0.5857 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.3814, allocations: 55.94 kB / 0.5857 GB, free: 10.68 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.000503/0.3819, allocations: 364.1 kB / 0.5861 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.382, allocations: 55.62 kB / 0.5861 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.652e-05/0.3821, allocations: 52.8 kB / 0.5862 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3821, allocations: 4 kB / 0.5862 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3821, allocations: 3.938 kB / 0.5862 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3821, allocations: 4 kB / 0.5862 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.3826, allocations: 337.1 kB / 0.5865 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3826, allocations: 0 / 0.5865 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.3827, allocations: 11.98 kB / 0.5865 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3827, allocations: 0 / 0.5865 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3827, allocations: 3.938 kB / 0.5865 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3827, allocations: 4 kB / 0.5865 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3827, allocations: 3.984 kB / 0.5865 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3831, allocations: 274.9 kB / 0.5868 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.3832, allocations: 51.61 kB / 0.5868 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.3833, allocations: 0 / 0.5868 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.3835, allocations: 7.984 kB / 0.5868 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.3835, allocations: 11.92 kB / 0.5868 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.3835, allocations: 4 kB / 0.5869 GB, free: 9.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006126/0.3841, allocations: 479 kB / 0.5873 GB, free: 8.984 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3841, allocations: 0 / 0.5873 GB, free: 8.984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006946/0.3848, allocations: 151.6 kB / 0.5875 GB, free: 8.836 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.000182/0.385, allocations: 103.2 kB / 0.5876 GB, free: 8.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000745/0.3858, allocations: 404.5 kB / 0.5879 GB, free: 8.332 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3858, allocations: 0 / 0.5879 GB, free: 8.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3859, allocations: 47.89 kB / 0.588 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.3864, allocations: 80.52 kB / 0.5881 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.3883, allocations: 1.159 MB / 0.5892 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.3888, allocations: 389.5 kB / 0.5896 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-05/0.3889, allocations: 47.42 kB / 0.5896 GB, free: 6.562 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3889, allocations: 4 kB / 0.5896 GB, free: 6.559 MB / 430.1 MB Notification: Performance of Templates: time 0.01372/0.4026, allocations: 7.45 MB / 0.5969 GB, free: 15.12 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.423570012673736]