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.001437/0.001437, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001562/0.001562, allocations: 169.4 kB / 25.61 MB, free: 8.902 MB / 18.57 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.023/1.023, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.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.156/0.156, allocations: 34.25 MB / 296.8 MB, free: 13.95 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 3.276e-06/3.276e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.482e-05/4.81e-05, allocations: 3.734 kB / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006885/0.006934, allocations: 5.961 MB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005326/0.01226, allocations: 1.914 MB / 387.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007241/0.01298, allocations: 27.94 kB / 387.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009867/0.01397, allocations: 0.654 MB / 387.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.01437, allocations: 206.6 kB / 388 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.01458, allocations: 55.8 kB / 388.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.01493, allocations: 437.9 kB / 388.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.01531, allocations: 439 kB / 388.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.01563, allocations: 323.1 kB / 389.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.01592, allocations: 255.3 kB / 389.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.01596, allocations: 36 kB / 389.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.01611, allocations: 87.77 kB / 389.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.01625, allocations: 283.2 kB / 389.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.01636, allocations: 183.4 kB / 390.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.01684, allocations: 0.5368 MB / 390.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.01685, allocations: 4 kB / 390.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.01685, allocations: 0 / 390.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.01687, allocations: 0 / 390.6 MB, free: 12.03 MB / 314.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.0008804/0.01775, allocations: 1.009 MB / 391.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.01778, allocations: 8.031 kB / 391.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.01821, allocations: 184.3 kB / 391.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.01853, allocations: 350.2 kB / 392.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.01855, allocations: 29.36 kB / 392.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.01859, allocations: 44.36 kB / 392.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.01907, allocations: 0.7186 MB / 392.9 MB, free: 9.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.01909, allocations: 15.88 kB / 393 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.01912, allocations: 23.98 kB / 393 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.01927, allocations: 180.5 kB / 393.2 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.01954, allocations: 227.8 kB / 393.4 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.02141, allocations: 5.679 MB / 399.1 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.946e-05/0.02146, allocations: 31 kB / 399.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.02148, allocations: 11.69 kB / 399.1 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.02149, allocations: 0 / 399.1 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.02151, allocations: 37.39 kB / 399.1 MB, free: 3.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.02151, allocations: 0 / 399.1 MB, free: 3.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001905/0.0217, allocations: 101.6 kB / 399.2 MB, free: 2.949 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.02172, allocations: 51.41 kB / 399.3 MB, free: 2.887 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.02209, allocations: 0.7446 MB / 400 MB, free: 2.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.02209, allocations: 29.7 kB / 400.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.02228, allocations: 0.5912 MB / 400.7 MB, free: 1.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.02229, allocations: 31.88 kB / 400.7 MB, free: 1.457 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.0224, allocations: 196 kB / 400.9 MB, free: 1.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.0225, allocations: 0.5585 MB / 401.4 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.02256, allocations: 49.94 kB / 401.5 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.02299, allocations: 0.8759 MB / 402.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.0237, allocations: 1.033 MB / 403.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.02371, allocations: 8 kB / 403.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006833/0.02439, allocations: 0.638 MB / 404 MB, free: 13.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.02441, allocations: 14.19 kB / 404.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.02443, allocations: 23.98 kB / 404.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.02446, allocations: 28 kB / 404.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.02473, allocations: 176.3 kB / 404.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.02475, allocations: 39.86 kB / 404.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.02507, allocations: 111.2 kB / 404.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.0251, allocations: 40 kB / 404.5 MB, free: 12.88 MB / 330.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.0001986/0.0253, allocations: 246.6 kB / 404.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.02535, allocations: 55.62 kB / 404.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.02541, allocations: 48.8 kB / 404.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.02541, allocations: 0 / 404.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.02541, allocations: 0 / 404.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.02542, allocations: 0 / 404.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.02572, allocations: 292.9 kB / 405.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02573, allocations: 0 / 405.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.02576, allocations: 4 kB / 405.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.02577, allocations: 4 kB / 405.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.02577, allocations: 3.984 kB / 405.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02577, allocations: 4 kB / 405.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.02577, allocations: 0 / 405.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.02593, allocations: 247.4 kB / 405.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.02598, allocations: 47.62 kB / 405.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.02601, allocations: 7.984 kB / 405.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.02608, allocations: 4 kB / 405.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.02612, allocations: 7.984 kB / 405.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.02612, allocations: 0 / 405.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002279/0.02635, allocations: 378.9 kB / 405.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02635, allocations: 0 / 405.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004357/0.02678, allocations: 143.7 kB / 405.9 MB, free: 11.36 MB / 330.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 0.0001122/0.0269, allocations: 95.23 kB / 406 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.02718, allocations: 281.8 kB / 406.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02718, allocations: 3.938 kB / 406.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.369e-05/0.0272, allocations: 23.61 kB / 406.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.02754, allocations: 99.75 kB / 406.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.02868, allocations: 0.9501 MB / 407.4 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.0288, allocations: 189.2 kB / 407.6 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.02894, allocations: 64.72 kB / 407.6 MB, free: 9.605 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.02907, allocations: 150.2 kB / 407.8 MB, free: 9.457 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02907, allocations: 0 / 407.8 MB, free: 9.457 MB / 330.7 MB Notification: Performance of Templates: time 0.008956/0.03802, allocations: 4.361 MB / 412.1 MB, free: 5.188 MB / 330.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.455121018923819]