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: 111 kB / 21.19 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.002065/0.002065, allocations: 215 kB / 24.48 MB, free: 3.98 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.452/1.452, 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.2851/0.2851, allocations: 46.96 MB / 361.6 MB, free: 4.023 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+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.002076/0.002076, allocations: 63.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007319/0.3231, allocations: 5.602 MB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003702/0.3268, allocations: 1.873 MB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003652/0.3272, allocations: 35.88 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.3285, allocations: 0.5917 MB / 0.5697 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.3289, allocations: 206.9 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.3292, allocations: 63.88 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.3297, allocations: 418.1 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005578/0.3302, allocations: 411.1 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.3305, allocations: 231 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.331, allocations: 294.9 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.331, allocations: 43.98 kB / 0.5713 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.3312, allocations: 87.89 kB / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.3315, allocations: 267.2 kB / 0.5717 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.3317, allocations: 246.4 kB / 0.5719 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008893/0.3326, allocations: 0.8271 MB / 0.5727 GB, free: 8.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3326, allocations: 0 / 0.5727 GB, free: 8.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3326, allocations: 0 / 0.5727 GB, free: 8.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3327, allocations: 0 / 0.5727 GB, free: 8.945 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.00146/0.3341, allocations: 0.8935 MB / 0.5736 GB, free: 8.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3341, allocations: 8.031 kB / 0.5736 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.3349, allocations: 156.3 kB / 0.5737 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.3356, allocations: 396.1 kB / 0.5741 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.3357, allocations: 29.36 kB / 0.5742 GB, free: 7.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.3357, allocations: 48.11 kB / 0.5742 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.3371, allocations: 1.082 MB / 0.5753 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.3372, allocations: 4 kB / 0.5753 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.3372, allocations: 23.98 kB / 0.5753 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000339/0.3376, allocations: 192.4 kB / 0.5755 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.3387, allocations: 0.7048 MB / 0.5762 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.3425, allocations: 4.323 MB / 0.5804 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3427, allocations: 54.53 kB / 0.5804 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3428, allocations: 52.89 kB / 0.5805 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3428, allocations: 0 / 0.5805 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.3428, allocations: 30.56 kB / 0.5805 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3428, allocations: 0 / 0.5805 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004861/0.3433, allocations: 213.1 kB / 0.5807 GB, free: 408 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.3434, allocations: 59.33 kB / 0.5808 GB, free: 336 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/0.3443, allocations: 0.773 MB / 0.5815 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3443, allocations: 25.7 kB / 0.5815 GB, free: 15.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.3447, allocations: 0.5222 MB / 0.5821 GB, free: 14.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.3447, allocations: 31.83 kB / 0.5821 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.3449, allocations: 170.5 kB / 0.5822 GB, free: 14.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3451, allocations: 366.8 kB / 0.5826 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.3454, allocations: 185.8 kB / 0.5828 GB, free: 14.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007348/0.3461, allocations: 0.7351 MB / 0.5835 GB, free: 13.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.3473, allocations: 0.9742 MB / 0.5844 GB, free: 11.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.3473, allocations: 8 kB / 0.5845 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001328/0.3486, allocations: 0.8651 MB / 0.5853 GB, free: 11.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3486, allocations: 16 kB / 0.5853 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.3486, allocations: 20 kB / 0.5853 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/0.3487, allocations: 28.03 kB / 0.5854 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.3492, allocations: 175.7 kB / 0.5855 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.816e-05/0.3492, allocations: 51.72 kB / 0.5856 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.3497, allocations: 111.2 kB / 0.5857 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.3498, allocations: 51.98 kB / 0.5857 GB, free: 10.63 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.0003762/0.3501, allocations: 360.1 kB / 0.5861 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.3502, allocations: 59.56 kB / 0.5861 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.52e-05/0.3503, allocations: 56.8 kB / 0.5862 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3503, allocations: 0 / 0.5862 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.3503, allocations: 7.938 kB / 0.5862 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.3503, allocations: 0 / 0.5862 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.3507, allocations: 337.1 kB / 0.5865 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3507, allocations: 0 / 0.5865 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.3508, allocations: 11.98 kB / 0.5865 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3508, allocations: 0 / 0.5865 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3508, allocations: 7.984 kB / 0.5865 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3508, allocations: 0 / 0.5865 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3508, allocations: 0 / 0.5865 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.3512, allocations: 275 kB / 0.5868 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.3513, allocations: 47.62 kB / 0.5868 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.3514, allocations: 0 / 0.5868 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3516, allocations: 7.984 kB / 0.5868 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.3516, allocations: 15.92 kB / 0.5869 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3516, allocations: 4 kB / 0.5869 GB, free: 9.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005701/0.3522, allocations: 483 kB / 0.5873 GB, free: 8.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3522, allocations: 0 / 0.5873 GB, free: 8.934 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006705/0.3529, allocations: 151.6 kB / 0.5875 GB, free: 8.785 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.0001404/0.353, allocations: 95.25 kB / 0.5876 GB, free: 8.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006997/0.3537, allocations: 408.5 kB / 0.588 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3537, allocations: 0 / 0.588 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3538, allocations: 47.89 kB / 0.588 GB, free: 8.238 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.3543, allocations: 81.83 kB / 0.5881 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.356, allocations: 1.091 MB / 0.5891 GB, free: 7.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.3565, allocations: 389.5 kB / 0.5895 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004299/0.3569, allocations: 200.5 kB / 0.5897 GB, free: 6.445 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.357, allocations: 39.42 kB / 0.5897 GB, free: 6.406 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.357, allocations: 0 / 0.5897 GB, free: 6.406 MB / 430.1 MB Notification: Performance of Templates: time 0.01115/0.3681, allocations: 4.842 MB / 0.5945 GB, free: 1.66 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 gbode -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.024310064007295]