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.001866/0.001866, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001766/0.001766, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 0.9991/0.9991, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2626/0.2626, allocations: 34.26 MB / 296.1 MB, free: 0.7344 MB / 266.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.443e-06/1.443e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.588e-05, allocations: 3.188 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005185/0.005211, allocations: 6.021 MB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.007929, allocations: 1.998 MB / 333.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.008221, allocations: 27.94 kB / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008605/0.009082, allocations: 0.6345 MB / 333.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.00937, allocations: 214.6 kB / 334.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.009549, allocations: 59.73 kB / 334.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.009874, allocations: 431.1 kB / 334.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.01025, allocations: 453 kB / 335.1 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.01052, allocations: 315.1 kB / 335.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.01078, allocations: 247.2 kB / 335.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.01082, allocations: 40 kB / 335.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.01096, allocations: 91.88 kB / 335.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.01113, allocations: 271.2 kB / 336 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.01124, allocations: 175.4 kB / 336.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.01166, allocations: 0.5486 MB / 336.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01166, allocations: 0 / 336.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01166, allocations: 3.938 kB / 336.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.01167, allocations: 0 / 336.7 MB, free: 12.14 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.000731/0.0124, allocations: 0.8426 MB / 337.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.01243, allocations: 8.031 kB / 337.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.01286, allocations: 144.7 kB / 337.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.01316, allocations: 335.4 kB / 338.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.01318, allocations: 33.36 kB / 338.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.01322, allocations: 48.34 kB / 338.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.01373, allocations: 0.6331 MB / 338.8 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.01375, allocations: 7.875 kB / 338.8 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.01378, allocations: 27.97 kB / 338.8 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.01394, allocations: 172.5 kB / 339 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.01419, allocations: 240.9 kB / 339.2 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.0161, allocations: 3.879 MB / 343.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.01614, allocations: 22.52 kB / 343.1 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.01616, allocations: 4.859 kB / 343.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.01617, allocations: 0 / 343.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.01619, allocations: 38.56 kB / 343.2 MB, free: 5.387 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.01619, allocations: 0 / 343.2 MB, free: 5.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001353/0.01633, allocations: 65.75 kB / 343.2 MB, free: 5.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.01635, allocations: 51.41 kB / 343.3 MB, free: 5.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.01672, allocations: 0.6048 MB / 343.9 MB, free: 4.633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.01673, allocations: 25.7 kB / 343.9 MB, free: 4.602 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.01692, allocations: 495.7 kB / 344.4 MB, free: 4.113 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.01694, allocations: 19.94 kB / 344.4 MB, free: 4.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.01705, allocations: 174.3 kB / 344.6 MB, free: 3.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01715, allocations: 378.6 kB / 344.9 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.01721, allocations: 45.97 kB / 345 MB, free: 3.492 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.0175, allocations: 0.6062 MB / 345.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.01794, allocations: 0.7856 MB / 346.4 MB, free: 1.535 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.01795, allocations: 4 kB / 346.4 MB, free: 1.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004764/0.01842, allocations: 0.549 MB / 346.9 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01844, allocations: 16.03 kB / 347 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.01846, allocations: 20 kB / 347 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.01848, allocations: 28 kB / 347 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.01874, allocations: 179.7 kB / 347.2 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.01876, allocations: 35.86 kB / 347.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.01901, allocations: 107.2 kB / 347.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.01904, allocations: 51.94 kB / 347.4 MB, free: 0.5469 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.0001431/0.01918, allocations: 210.8 kB / 347.6 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.01922, allocations: 23.97 kB / 347.6 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.01926, allocations: 48.8 kB / 347.6 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.01926, allocations: 0 / 347.6 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01927, allocations: 3.984 kB / 347.6 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01927, allocations: 4 kB / 347.6 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.01945, allocations: 201.6 kB / 347.8 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01945, allocations: 0 / 347.8 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.01949, allocations: 11.98 kB / 347.9 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01949, allocations: 0 / 347.9 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.01949, allocations: 0 / 347.9 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.01949, allocations: 4 kB / 347.9 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0195, allocations: 0 / 347.9 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.01961, allocations: 171.4 kB / 348 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.01965, allocations: 47.61 kB / 348.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.01967, allocations: 4 kB / 348.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.01975, allocations: 0 / 348.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.01978, allocations: 7.984 kB / 348.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.01979, allocations: 0 / 348.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.01995, allocations: 240.6 kB / 348.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01995, allocations: 0 / 348.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.0203, allocations: 147.6 kB / 348.5 MB, free: 15.39 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 8.963e-05/0.02039, allocations: 76.42 kB / 348.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.02061, allocations: 272.1 kB / 348.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.902e-05/0.02063, allocations: 14.31 kB / 348.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/0.02065, allocations: 16.8 kB / 348.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.02091, allocations: 84.34 kB / 348.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.02201, allocations: 0.9792 MB / 349.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.02213, allocations: 181.2 kB / 350.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.02227, allocations: 68.7 kB / 350.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.0224, allocations: 123.3 kB / 350.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.0224, allocations: 0 / 350.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of Templates: time 0.007061/0.02946, allocations: 4.202 MB / 354.5 MB, free: 9.418 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 -s gbode -gbm=radauIIA3 -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: 2.974144920706749]