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.001435/0.001435, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001661/0.001661, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2231/0.2231, allocations: 46.96 MB / 361.6 MB, free: 4.043 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.001986/0.001986, allocations: 67.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008242/0.3382, allocations: 5.609 MB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.3419, allocations: 1.877 MB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.3422, allocations: 31.88 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.3436, allocations: 0.5879 MB / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.3441, allocations: 206.9 kB / 0.5699 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.3443, allocations: 63.86 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.3448, allocations: 418.1 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.3454, allocations: 419 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.3457, allocations: 223.1 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.3461, allocations: 298.9 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/0.3462, allocations: 43.94 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.3464, allocations: 83.94 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.3466, allocations: 271.2 kB / 0.5717 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.3469, allocations: 234.4 kB / 0.5719 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000907/0.3478, allocations: 0.831 MB / 0.5727 GB, free: 8.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3478, allocations: 0 / 0.5727 GB, free: 8.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3478, allocations: 0 / 0.5727 GB, free: 8.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3478, allocations: 0 / 0.5727 GB, free: 8.957 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.001505/0.3493, allocations: 0.8896 MB / 0.5736 GB, free: 8.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3493, allocations: 15.97 kB / 0.5736 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007505/0.3501, allocations: 160.2 kB / 0.5738 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.3508, allocations: 388.2 kB / 0.5741 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.3508, allocations: 37.34 kB / 0.5742 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.3509, allocations: 44.11 kB / 0.5742 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.3523, allocations: 1.085 MB / 0.5753 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3523, allocations: 3.938 kB / 0.5753 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.3524, allocations: 19.98 kB / 0.5753 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003392/0.3527, allocations: 192.5 kB / 0.5755 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.3539, allocations: 0.7126 MB / 0.5762 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.3579, allocations: 4.319 MB / 0.5804 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.3581, allocations: 54.53 kB / 0.5804 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3582, allocations: 48.91 kB / 0.5805 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3582, allocations: 0 / 0.5805 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3582, allocations: 34.5 kB / 0.5805 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3582, allocations: 4 kB / 0.5805 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005127/0.3587, allocations: 205.2 kB / 0.5807 GB, free: 416 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.3588, allocations: 55.34 kB / 0.5808 GB, free: 348 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008819/0.3597, allocations: 0.7769 MB / 0.5815 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3597, allocations: 25.7 kB / 0.5815 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.3601, allocations: 0.5183 MB / 0.5821 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.3601, allocations: 31.88 kB / 0.5821 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.3603, allocations: 170.5 kB / 0.5822 GB, free: 14.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3605, allocations: 370.8 kB / 0.5826 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.3608, allocations: 177.9 kB / 0.5828 GB, free: 14.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007495/0.3615, allocations: 0.7428 MB / 0.5835 GB, free: 13.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.3627, allocations: 0.9665 MB / 0.5844 GB, free: 11.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.3627, allocations: 12 kB / 0.5845 GB, free: 11.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001335/0.364, allocations: 0.8648 MB / 0.5853 GB, free: 11.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.364, allocations: 20.25 kB / 0.5853 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.3641, allocations: 20 kB / 0.5853 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.944e-05/0.3641, allocations: 28 kB / 0.5854 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.3646, allocations: 175.6 kB / 0.5855 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-05/0.3647, allocations: 39.8 kB / 0.5856 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.3651, allocations: 115.2 kB / 0.5857 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.3652, allocations: 48 kB / 0.5857 GB, free: 10.65 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.0004097/0.3656, allocations: 364.1 kB / 0.5861 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.3657, allocations: 55.62 kB / 0.5861 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.77e-05/0.3658, allocations: 64.78 kB / 0.5862 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3658, allocations: 3.938 kB / 0.5862 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3658, allocations: 7.875 kB / 0.5862 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3658, allocations: 0 / 0.5862 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.3662, allocations: 337.1 kB / 0.5865 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3662, allocations: 4 kB / 0.5865 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.3663, allocations: 19.92 kB / 0.5865 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3663, allocations: 0 / 0.5865 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3663, allocations: 0 / 0.5865 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3663, allocations: 4 kB / 0.5865 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3663, allocations: 0 / 0.5865 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.3667, allocations: 267 kB / 0.5868 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.3668, allocations: 51.61 kB / 0.5868 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.3668, allocations: 4 kB / 0.5869 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.367, allocations: 4 kB / 0.5869 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.3671, allocations: 15.91 kB / 0.5869 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3671, allocations: 0 / 0.5869 GB, free: 9.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005688/0.3677, allocations: 487 kB / 0.5873 GB, free: 8.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3677, allocations: 0 / 0.5873 GB, free: 8.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006327/0.3683, allocations: 147.6 kB / 0.5875 GB, free: 8.793 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.0001241/0.3684, allocations: 95.19 kB / 0.5876 GB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006876/0.3691, allocations: 407.8 kB / 0.588 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3691, allocations: 0 / 0.588 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3692, allocations: 47.94 kB / 0.588 GB, free: 8.246 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.3697, allocations: 74.39 kB / 0.5881 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.3714, allocations: 1.079 MB / 0.5891 GB, free: 7.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.3718, allocations: 409.3 kB / 0.5895 GB, free: 6.645 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.3723, allocations: 192.5 kB / 0.5897 GB, free: 6.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.3724, allocations: 35.44 kB / 0.5897 GB, free: 6.422 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3724, allocations: 0 / 0.5897 GB, free: 6.422 MB / 430.1 MB Notification: Performance of Templates: time 0.01013/0.3825, allocations: 4.848 MB / 0.5945 GB, free: 1.668 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 -s cvode -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: 4.892007909002132]