Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009566/0.0009566, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001098/0.001098, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9905/0.9905, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2671/0.2671, allocations: 32.81 MB / 294.3 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.682e-05, allocations: 2.312 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00643/0.006447, allocations: 6.098 MB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.01007, allocations: 1.947 MB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004402/0.01051, allocations: 27.94 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.01166, allocations: 0.6579 MB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.01204, allocations: 210.6 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.01224, allocations: 55.8 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.01267, allocations: 429.9 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.01315, allocations: 439 kB / 385.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.0135, allocations: 311.2 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.01385, allocations: 263.2 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.0139, allocations: 36 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.01406, allocations: 91.88 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.01427, allocations: 279.2 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.01444, allocations: 179.4 kB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005742/0.01501, allocations: 0.5524 MB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.01502, allocations: 0 / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01502, allocations: 4 kB / 387.5 MB, free: 9.082 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.01503, allocations: 0 / 387.5 MB, free: 9.082 MB / 362.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.001358/0.01638, allocations: 1.001 MB / 388.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.01642, allocations: 12.03 kB / 388.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/0.01702, allocations: 192.3 kB / 388.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.01749, allocations: 386.1 kB / 389.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.01751, allocations: 29.36 kB / 389.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.01757, allocations: 44.36 kB / 389.2 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.01838, allocations: 0.7539 MB / 389.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.0184, allocations: 11.88 kB / 390 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.01844, allocations: 15.98 kB / 390 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/0.01869, allocations: 200.4 kB / 390.2 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.01919, allocations: 271.3 kB / 390.4 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.02246, allocations: 5.823 MB / 396.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.751e-05/0.02252, allocations: 27.06 kB / 396.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.02255, allocations: 7.688 kB / 396.3 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.02256, allocations: 4 kB / 396.3 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.02259, allocations: 45.41 kB / 396.3 MB, free: 15.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.02259, allocations: 0 / 396.3 MB, free: 15.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002144/0.0228, allocations: 97.31 kB / 396.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.02283, allocations: 51.41 kB / 396.5 MB, free: 15.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.02349, allocations: 0.7528 MB / 397.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.0235, allocations: 29.7 kB / 397.3 MB, free: 14.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.02383, allocations: 0.5874 MB / 397.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.02385, allocations: 23.92 kB / 397.9 MB, free: 14.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.02401, allocations: 184.1 kB / 398 MB, free: 14.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.02419, allocations: 0.5625 MB / 398.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.02429, allocations: 57.95 kB / 398.7 MB, free: 13.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.02477, allocations: 0.8876 MB / 399.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.02548, allocations: 1.029 MB / 400.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.02549, allocations: 15.88 kB / 400.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008258/0.02632, allocations: 0.6735 MB / 401.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.02634, allocations: 16 kB / 401.3 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.02635, allocations: 20 kB / 401.3 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.02638, allocations: 24 kB / 401.3 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.02695, allocations: 179.6 kB / 401.5 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.02697, allocations: 35.86 kB / 401.5 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.02735, allocations: 115.2 kB / 401.7 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.02739, allocations: 47.94 kB / 401.7 MB, free: 9.59 MB / 378.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 (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.0001617/0.02755, allocations: 247.2 kB / 401.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.02761, allocations: 59.61 kB / 402 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.02767, allocations: 52.8 kB / 402.1 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.02768, allocations: 0 / 402.1 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.02768, allocations: 0 / 402.1 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.02768, allocations: 0 / 402.1 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.02809, allocations: 412.4 kB / 402.5 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.02809, allocations: 0 / 402.5 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.02813, allocations: 8 kB / 402.5 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.02813, allocations: 4 kB / 402.5 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.02814, allocations: 7.984 kB / 402.5 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.02814, allocations: 0 / 402.5 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.02814, allocations: 0 / 402.5 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.0283, allocations: 247.5 kB / 402.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.02836, allocations: 47.61 kB / 402.8 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.02839, allocations: 0 / 402.8 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.02851, allocations: 11.94 kB / 402.8 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.02855, allocations: 11.97 kB / 402.8 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.02856, allocations: 4 kB / 402.8 MB, free: 8.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003399/0.0289, allocations: 403 kB / 403.2 MB, free: 8.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0289, allocations: 0 / 403.2 MB, free: 8.039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000582/0.02948, allocations: 151.6 kB / 403.3 MB, free: 7.891 MB / 378.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.186e-05/0.02957, allocations: 95.23 kB / 403.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.02995, allocations: 294.9 kB / 403.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.02995, allocations: 0 / 403.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.02998, allocations: 19.67 kB / 403.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.03038, allocations: 81.52 kB / 403.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.03165, allocations: 0.9507 MB / 404.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.03179, allocations: 189 kB / 404.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.0321, allocations: 180.6 kB / 405.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.03217, allocations: 36.5 kB / 405.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03217, allocations: 0 / 405.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of Templates: time 0.008238/0.04041, allocations: 4.21 MB / 409.4 MB, free: 1.875 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2267839456908405]