Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0007463/0.0007463, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009797/0.001726, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006919/0.0006919, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000942/0.001634, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9828/0.9828, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09388/1.077, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2558/0.2558, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02766/0.2834, allocations: 13.23 MB / 292.6 MB, free: 6.461 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 293.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.351e-05, allocations: 4.422 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00488/0.004893, allocations: 6.054 MB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.007627, allocations: 2.013 MB / 301.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003693/0.007996, allocations: 27.94 kB / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007518/0.008748, allocations: 0.6189 MB / 302.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.009066, allocations: 198.7 kB / 302.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.009239, allocations: 67.78 kB / 302.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.009602, allocations: 426 kB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.009979, allocations: 437 kB / 303.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.0103, allocations: 372.4 kB / 304 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.01056, allocations: 247.2 kB / 304.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.0106, allocations: 36 kB / 304.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.01074, allocations: 91.88 kB / 304.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.0109, allocations: 243.3 kB / 304.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.01102, allocations: 151.5 kB / 304.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.01146, allocations: 0.5174 MB / 305.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.01147, allocations: 0 / 305.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01147, allocations: 0 / 305.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.01149, allocations: 0 / 305.3 MB, free: 9.695 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.0009052/0.01239, allocations: 0.9594 MB / 306.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.01243, allocations: 12.92 kB / 306.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004212/0.01285, allocations: 229.8 kB / 306.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.01314, allocations: 335.4 kB / 306.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.01316, allocations: 29.36 kB / 306.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.0132, allocations: 44.36 kB / 306.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.01372, allocations: 0.6295 MB / 307.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01374, allocations: 11.88 kB / 307.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.01377, allocations: 23.98 kB / 307.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.01393, allocations: 168.5 kB / 307.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.01418, allocations: 247.7 kB / 308 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.01625, allocations: 3.887 MB / 311.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.725e-05/0.0163, allocations: 22.52 kB / 311.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.01631, allocations: 4.859 kB / 311.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.01633, allocations: 0 / 311.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.01635, allocations: 38.66 kB / 311.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.01635, allocations: 0 / 311.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001318/0.01648, allocations: 65.64 kB / 312 MB, free: 2.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.01651, allocations: 59.41 kB / 312 MB, free: 2.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.01685, allocations: 0.6086 MB / 312.6 MB, free: 1.949 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.01686, allocations: 25.7 kB / 312.7 MB, free: 1.918 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.01706, allocations: 491.7 kB / 313.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.01708, allocations: 35.84 kB / 313.2 MB, free: 1.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.01719, allocations: 166.3 kB / 313.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004459/0.01764, allocations: 374.6 kB / 313.7 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.01769, allocations: 45.97 kB / 313.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.01797, allocations: 0.6179 MB / 314.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.01841, allocations: 0.7739 MB / 315.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.01842, allocations: 4 kB / 315.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004501/0.01887, allocations: 0.5489 MB / 315.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01889, allocations: 12 kB / 315.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.0189, allocations: 28.14 kB / 315.7 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.01892, allocations: 28 kB / 315.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.0192, allocations: 187.7 kB / 316 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.512e-05/0.01922, allocations: 35.86 kB / 316 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.01946, allocations: 111.2 kB / 316.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.01949, allocations: 44 kB / 316.1 MB, free: 13.84 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.0001382/0.01963, allocations: 194.7 kB / 316.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.01966, allocations: 27.95 kB / 316.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.01971, allocations: 56.8 kB / 316.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.01971, allocations: 0 / 316.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01971, allocations: 0 / 316.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.01972, allocations: 0 / 316.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.02013, allocations: 209.6 kB / 316.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.02013, allocations: 0 / 316.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.02016, allocations: 11.98 kB / 316.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.02021, allocations: 47.61 kB / 316.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.02021, allocations: 0 / 316.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.02022, allocations: 0 / 316.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.02022, allocations: 8 kB / 316.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.02022, allocations: 0 / 316.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.781e-05/0.02032, allocations: 167.6 kB / 316.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.02034, allocations: 4 kB / 316.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.02042, allocations: 7.922 kB / 316.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.02045, allocations: 4 kB / 316.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.02045, allocations: 3.984 kB / 316.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.02061, allocations: 240.6 kB / 317.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02061, allocations: 0 / 317.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.02096, allocations: 147.6 kB / 317.2 MB, free: 12.69 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.811e-05/0.02106, allocations: 76.42 kB / 317.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.02129, allocations: 264.6 kB / 317.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-05/0.02131, allocations: 13.81 kB / 317.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.02133, allocations: 16.78 kB / 317.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.0216, allocations: 130.6 kB / 317.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.02347, allocations: 0.9869 MB / 318.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.02359, allocations: 181.2 kB / 318.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.02372, allocations: 60.72 kB / 319 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.02383, allocations: 135.2 kB / 319.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02383, allocations: 0 / 319.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of Templates: time 0.007177/0.03101, allocations: 4.287 MB / 323.4 MB, free: 6.594 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.9024260258302093]