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.001772/0.001772, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.002136/0.002136, allocations: 207 kB / 24.48 MB, free: 4.035 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.428/1.428, allocations: 230.2 MB / 257.8 MB, free: 8.527 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.2206/0.2206, allocations: 46.89 MB / 361.1 MB, free: 4.629 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-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: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow") [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.002294/0.002294, allocations: 75.88 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3013, allocations: 65.98 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007838/0.3092, allocations: 6.297 MB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.3128, allocations: 2.002 MB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.313, allocations: 27.94 kB / 0.5693 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3144, allocations: 0.619 MB / 0.57 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.3148, allocations: 206.9 kB / 0.5701 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.315, allocations: 59.88 kB / 0.5702 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005074/0.3155, allocations: 426.1 kB / 0.5706 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/0.316, allocations: 362.8 kB / 0.571 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.3163, allocations: 215.2 kB / 0.5712 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.3167, allocations: 302.8 kB / 0.5715 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.3168, allocations: 39.94 kB / 0.5715 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.317, allocations: 83.95 kB / 0.5716 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.3173, allocations: 275.2 kB / 0.5718 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.3175, allocations: 314 kB / 0.5721 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009229/0.3185, allocations: 0.8244 MB / 0.5729 GB, free: 8.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3185, allocations: 4 kB / 0.5729 GB, free: 8.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3185, allocations: 0 / 0.5729 GB, free: 8.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.557e-06/0.3185, allocations: 0 / 0.5729 GB, free: 8.938 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.001485/0.32, allocations: 0.9649 MB / 0.5739 GB, free: 7.922 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.32, allocations: 8.031 kB / 0.5739 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.3208, allocations: 164.2 kB / 0.574 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.3215, allocations: 442 kB / 0.5745 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.3215, allocations: 37.34 kB / 0.5745 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.3216, allocations: 44.11 kB / 0.5745 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.323, allocations: 1.078 MB / 0.5756 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.323, allocations: 7.938 kB / 0.5756 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.3231, allocations: 23.98 kB / 0.5756 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000356/0.3234, allocations: 184.4 kB / 0.5758 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.3246, allocations: 0.7161 MB / 0.5765 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/0.3289, allocations: 4.654 MB / 0.581 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.329, allocations: 62.53 kB / 0.5811 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3292, allocations: 40.91 kB / 0.5811 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3292, allocations: 3.938 kB / 0.5812 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3292, allocations: 38.56 kB / 0.5812 GB, free: 84 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.3292, allocations: 0 / 0.5812 GB, free: 84 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005248/0.3297, allocations: 217.1 kB / 0.5814 GB, free: 15.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.3298, allocations: 51.41 kB / 0.5814 GB, free: 15.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/0.3307, allocations: 0.8204 MB / 0.5822 GB, free: 14.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3307, allocations: 25.7 kB / 0.5823 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.3311, allocations: 0.5179 MB / 0.5828 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.3312, allocations: 31.88 kB / 0.5828 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.3314, allocations: 174.4 kB / 0.583 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3316, allocations: 374.8 kB / 0.5833 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.3319, allocations: 185.8 kB / 0.5835 GB, free: 13.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/0.3327, allocations: 0.735 MB / 0.5842 GB, free: 12.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.334, allocations: 0.9743 MB / 0.5852 GB, free: 11.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.334, allocations: 7.938 kB / 0.5852 GB, free: 11.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001448/0.3354, allocations: 0.8723 MB / 0.586 GB, free: 10.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3355, allocations: 16 kB / 0.5861 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.3355, allocations: 23.98 kB / 0.5861 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.167e-05/0.3355, allocations: 31.94 kB / 0.5861 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.336, allocations: 180.3 kB / 0.5863 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.503e-05/0.3361, allocations: 39.86 kB / 0.5863 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.3366, allocations: 123.3 kB / 0.5864 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.3367, allocations: 51.98 kB / 0.5865 GB, free: 10.03 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.0004315/0.3371, allocations: 355.5 kB / 0.5868 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.3372, allocations: 63.58 kB / 0.5869 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.392e-05/0.3373, allocations: 61.28 kB / 0.5869 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3373, allocations: 3.938 kB / 0.5869 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3373, allocations: 4 kB / 0.5869 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.3375, allocations: 140.6 kB / 0.5871 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.3375, allocations: 0 / 0.5871 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3377, allocations: 15.92 kB / 0.5871 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.3378, allocations: 7.984 kB / 0.5871 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003497/0.3381, allocations: 192.9 kB / 0.5873 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004056/0.3385, allocations: 350.3 kB / 0.5876 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001296/0.3387, allocations: 47.89 kB / 0.5877 GB, free: 8.754 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006469/0.3393, allocations: 0.5263 MB / 0.5882 GB, free: 8.23 MB / 430.1 MB Notification: Performance of Backend: time 4.91e-07/0.3393, allocations: 0 / 0.5882 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3403, allocations: 452.7 kB / 0.5886 GB, free: 7.789 MB / 430.1 MB Notification: Performance of SimCode: time 0.002241/0.3426, allocations: 1.679 MB / 0.5903 GB, free: 6.066 MB / 430.1 MB Notification: Performance of Templates: time 0.0118/0.3544, allocations: 5.477 MB / 0.5956 GB, free: 0.6133 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.871679972391576]