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.001944/0.001944, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001467/0.001467, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2323/0.2323, allocations: 46.97 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.002295/0.002295, allocations: 67.89 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3209, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007941/0.3288, allocations: 5.602 MB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.3332, allocations: 1.877 MB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005519/0.3338, allocations: 35.81 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.3352, allocations: 0.5879 MB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005156/0.3357, allocations: 206.9 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.3359, allocations: 59.88 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005232/0.3365, allocations: 418.2 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005817/0.337, allocations: 419 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.3374, allocations: 227.1 kB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/0.3378, allocations: 302.9 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.305e-05/0.3379, allocations: 36 kB / 0.5713 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.3381, allocations: 87.89 kB / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.3384, allocations: 271.1 kB / 0.5717 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.3386, allocations: 242.4 kB / 0.5719 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009562/0.3396, allocations: 0.8271 MB / 0.5727 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3396, allocations: 0 / 0.5727 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3396, allocations: 7.938 kB / 0.5727 GB, free: 8.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.3396, allocations: 0 / 0.5727 GB, free: 8.973 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.001556/0.3411, allocations: 0.8878 MB / 0.5736 GB, free: 8.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3412, allocations: 8.031 kB / 0.5736 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007842/0.342, allocations: 160.2 kB / 0.5738 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/0.3427, allocations: 396.1 kB / 0.5741 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.3427, allocations: 33.36 kB / 0.5742 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.3428, allocations: 40.11 kB / 0.5742 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.3443, allocations: 1.085 MB / 0.5753 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.3443, allocations: 7.938 kB / 0.5753 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/0.3444, allocations: 15.98 kB / 0.5753 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003448/0.3447, allocations: 188.5 kB / 0.5755 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3459, allocations: 0.7165 MB / 0.5762 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.35, allocations: 4.315 MB / 0.5804 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.3501, allocations: 50.53 kB / 0.5804 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3502, allocations: 48.91 kB / 0.5805 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.3503, allocations: 0 / 0.5805 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.3503, allocations: 46.48 kB / 0.5805 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3503, allocations: 0 / 0.5805 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004948/0.3508, allocations: 197.2 kB / 0.5807 GB, free: 452 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3508, allocations: 55.41 kB / 0.5808 GB, free: 384 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.3518, allocations: 0.7807 MB / 0.5815 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3518, allocations: 29.7 kB / 0.5816 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.3522, allocations: 0.5261 MB / 0.5821 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.3522, allocations: 23.89 kB / 0.5821 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.3524, allocations: 174.5 kB / 0.5823 GB, free: 14.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3526, allocations: 366.8 kB / 0.5826 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.3529, allocations: 177.9 kB / 0.5828 GB, free: 14.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/0.3537, allocations: 0.7428 MB / 0.5835 GB, free: 13.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3549, allocations: 0.9782 MB / 0.5845 GB, free: 11.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.3549, allocations: 4 kB / 0.5845 GB, free: 11.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001395/0.3563, allocations: 0.8651 MB / 0.5853 GB, free: 11.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3563, allocations: 16.03 kB / 0.5853 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.3564, allocations: 20 kB / 0.5853 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.853e-05/0.3564, allocations: 28 kB / 0.5854 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.3569, allocations: 175.6 kB / 0.5855 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.936e-05/0.357, allocations: 43.73 kB / 0.5856 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.3575, allocations: 115.2 kB / 0.5857 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.3576, allocations: 52 kB / 0.5857 GB, free: 10.67 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.0004021/0.358, allocations: 356.1 kB / 0.5861 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.982e-05/0.3581, allocations: 63.61 kB / 0.5861 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.776e-05/0.3581, allocations: 56.8 kB / 0.5862 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3581, allocations: 0 / 0.5862 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3581, allocations: 0 / 0.5862 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/0.3582, allocations: 51.56 kB / 0.5862 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.3583, allocations: 3.984 kB / 0.5862 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.3585, allocations: 8 kB / 0.5863 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.3586, allocations: 7.984 kB / 0.5863 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000348/0.3589, allocations: 204.8 kB / 0.5865 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000406/0.3593, allocations: 346.3 kB / 0.5868 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001126/0.3594, allocations: 39.95 kB / 0.5868 GB, free: 9.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000588/0.36, allocations: 487 kB / 0.5873 GB, free: 9.043 MB / 430.1 MB Notification: Performance of Backend: time 5.01e-07/0.36, allocations: 7.875 kB / 0.5873 GB, free: 9.035 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.361, allocations: 450.6 kB / 0.5877 GB, free: 8.59 MB / 430.1 MB Notification: Performance of SimCode: time 0.002148/0.3632, allocations: 1.646 MB / 0.5893 GB, free: 6.898 MB / 430.1 MB Notification: Performance of Templates: time 0.01202/0.3752, allocations: 5.569 MB / 0.5948 GB, free: 1.426 MB / 430.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: 5.05818030199589]