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.001011/0.001011, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.00231, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009505/0.0009505, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002174, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09804/1.12, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.2987/0.2987, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02471/0.3234, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.7 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 1.272e-06/1.272e-06, allocations: 0 / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.661e-05, allocations: 3.844 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00914/0.009157, allocations: 6.075 MB / 298.9 MB, free: 124 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.01238, allocations: 2.005 MB / 300.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.01274, allocations: 31.88 kB / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009161/0.01365, allocations: 0.6111 MB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.014, allocations: 210.6 kB / 301.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.01418, allocations: 55.81 kB / 301.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.01458, allocations: 429.9 kB / 302.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.01504, allocations: 445 kB / 302.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000379/0.01542, allocations: 364.4 kB / 303 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003821/0.0158, allocations: 243.2 kB / 303.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.01586, allocations: 40 kB / 303.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.01604, allocations: 91.83 kB / 303.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.01623, allocations: 247.3 kB / 303.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.01637, allocations: 151.5 kB / 303.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005068/0.01688, allocations: 0.5135 MB / 304.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.01688, allocations: 0 / 304.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.01689, allocations: 0 / 304.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.0169, allocations: 0 / 304.3 MB, free: 10.71 MB / 298.7 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.001029/0.01793, allocations: 0.9633 MB / 305.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.01796, allocations: 8.031 kB / 305.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.01852, allocations: 229.8 kB / 305.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.01887, allocations: 331.4 kB / 305.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.0189, allocations: 33.36 kB / 305.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.01895, allocations: 44.36 kB / 305.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.01957, allocations: 0.6337 MB / 306.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01958, allocations: 7.875 kB / 306.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.01962, allocations: 19.98 kB / 306.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002091/0.01983, allocations: 164.5 kB / 306.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.02015, allocations: 246.8 kB / 306.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.02249, allocations: 3.883 MB / 310.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.31e-05/0.02254, allocations: 22.58 kB / 310.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.02255, allocations: 8.859 kB / 310.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.02256, allocations: 3.938 kB / 310.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.02258, allocations: 30.56 kB / 310.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.02258, allocations: 0 / 310.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001507/0.02274, allocations: 65.75 kB / 311 MB, free: 3.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.02276, allocations: 59.34 kB / 311 MB, free: 3.598 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.0232, allocations: 0.6087 MB / 311.6 MB, free: 2.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.02322, allocations: 25.7 kB / 311.6 MB, free: 2.949 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.02346, allocations: 487.7 kB / 312.1 MB, free: 2.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.02348, allocations: 27.88 kB / 312.1 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.02376, allocations: 166.4 kB / 312.3 MB, free: 2.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.02387, allocations: 374.6 kB / 312.7 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.786e-05/0.02394, allocations: 57.89 kB / 312.7 MB, free: 1.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.0243, allocations: 0.6062 MB / 313.3 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.02495, allocations: 0.8402 MB / 314.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.02496, allocations: 8 kB / 314.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006338/0.02559, allocations: 0.5372 MB / 314.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.02561, allocations: 16 kB / 314.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.02563, allocations: 28.11 kB / 314.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.02566, allocations: 27.94 kB / 314.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.02604, allocations: 191.7 kB / 315 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.617e-05/0.02606, allocations: 39.86 kB / 315 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.02644, allocations: 107.2 kB / 315.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.02649, allocations: 51.97 kB / 315.2 MB, free: 14.81 MB / 314.7 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 (fixed3.color[1],fixed3.color[2],fixed3.color[3],arrow.color[1],arrow.color[2],arrow.color[3],fixedArrow.color[1],fixedArrow.color[2],fixedArrow.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],arrow.headAtOrigin,arrow.arrow.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.arrowLine.twoHeadedArrow) * 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.0004272/0.02692, allocations: 198.9 kB / 315.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.02697, allocations: 27.97 kB / 315.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.02703, allocations: 56.78 kB / 315.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.02703, allocations: 0 / 315.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02703, allocations: 0 / 315.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.02703, allocations: 4 kB / 315.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.02726, allocations: 205.6 kB / 315.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.02727, allocations: 0 / 315.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.02731, allocations: 11.98 kB / 315.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.02736, allocations: 43.62 kB / 315.7 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.02737, allocations: 3.984 kB / 315.7 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.02737, allocations: 3.938 kB / 315.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.02737, allocations: 4 kB / 315.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02738, allocations: 0 / 315.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.0275, allocations: 167.4 kB / 315.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.02753, allocations: 0 / 315.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.02765, allocations: 11.98 kB / 315.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.02768, allocations: 0 / 315.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.02768, allocations: 0 / 315.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002151/0.02789, allocations: 244.6 kB / 316.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02789, allocations: 0 / 316.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005175/0.02841, allocations: 147.6 kB / 316.3 MB, free: 13.66 MB / 314.7 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 9.051e-05/0.0285, allocations: 80.41 kB / 316.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.02881, allocations: 278.7 kB / 316.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.57e-05/0.02884, allocations: 14.56 kB / 316.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.02887, allocations: 16.84 kB / 316.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.0294, allocations: 0.5845 MB / 317.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.03176, allocations: 0.9791 MB / 318.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.03191, allocations: 197.1 kB / 318.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.03208, allocations: 68.7 kB / 318.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.03223, allocations: 119.3 kB / 318.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03223, allocations: 0 / 318.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of Templates: time 0.007978/0.04021, allocations: 3.563 MB / 322.2 MB, free: 7.703 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.053866452537477]