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.0009403/0.0009403, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001138/0.001138, allocations: 165.8 kB / 24.99 MB, free: 8.336 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.9932/0.9932, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.3161/0.3161, allocations: 32.81 MB / 294.6 MB, free: 1.289 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 2.084e-06/2.084e-06, allocations: 0 / 376 MB, free: 5.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.924e-05/4.133e-05, allocations: 2.312 kB / 376 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008258/0.0083, allocations: 6.093 MB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.01212, allocations: 1.935 MB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.01274, allocations: 31.88 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.01381, allocations: 0.6579 MB / 384.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005521/0.01437, allocations: 210.6 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.0146, allocations: 55.81 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.01502, allocations: 433.9 kB / 385.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004687/0.01549, allocations: 431 kB / 385.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.01583, allocations: 319.1 kB / 386.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.01618, allocations: 263.2 kB / 386.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.01623, allocations: 36 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.01638, allocations: 87.89 kB / 386.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.01657, allocations: 279.2 kB / 386.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.0167, allocations: 179.4 kB / 386.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.01725, allocations: 0.5485 MB / 387.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01725, allocations: 0 / 387.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01726, allocations: 0 / 387.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.01727, allocations: 4 kB / 387.5 MB, free: 9.477 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.0009939/0.01826, allocations: 1.001 MB / 388.5 MB, free: 8.438 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.0183, allocations: 12.03 kB / 388.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000568/0.01887, allocations: 196.3 kB / 388.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.01928, allocations: 374.2 kB / 389.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.0193, allocations: 33.36 kB / 389.1 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.01935, allocations: 40.36 kB / 389.1 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007178/0.02006, allocations: 0.7539 MB / 389.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.02008, allocations: 11.88 kB / 389.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.02011, allocations: 19.98 kB / 389.9 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/0.02033, allocations: 200.4 kB / 390.1 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.02076, allocations: 271.3 kB / 390.4 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.02388, allocations: 5.823 MB / 396.2 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.845e-05/0.02395, allocations: 27.06 kB / 396.2 MB, free: 288 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.02398, allocations: 19.77 kB / 396.2 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.024, allocations: 0 / 396.2 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.02403, allocations: 37.39 kB / 396.3 MB, free: 216 kB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.02403, allocations: 0 / 396.3 MB, free: 216 kB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002614/0.02429, allocations: 101.2 kB / 396.4 MB, free: 108 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.02432, allocations: 51.41 kB / 396.4 MB, free: 44 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.02496, allocations: 0.7529 MB / 397.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.02498, allocations: 29.64 kB / 397.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.0253, allocations: 0.5834 MB / 397.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.02532, allocations: 23.94 kB / 397.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.0255, allocations: 196.1 kB / 398 MB, free: 14.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.02568, allocations: 0.5547 MB / 398.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.02579, allocations: 57.95 kB / 398.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.02633, allocations: 0.8915 MB / 399.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007695/0.0271, allocations: 1.029 MB / 400.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.02711, allocations: 8 kB / 400.5 MB, free: 11.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007659/0.02788, allocations: 0.6771 MB / 401.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.02791, allocations: 16 kB / 401.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.02792, allocations: 20 kB / 401.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.02795, allocations: 24 kB / 401.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.02827, allocations: 175.6 kB / 401.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.0283, allocations: 36.42 kB / 401.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.02864, allocations: 115.2 kB / 401.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.02869, allocations: 51.94 kB / 401.7 MB, free: 9.984 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.0002135/0.0289, allocations: 238.8 kB / 401.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.02896, allocations: 59.62 kB / 401.9 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.037e-05/0.02902, allocations: 48.8 kB / 402 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02902, allocations: 0 / 402 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.02903, allocations: 4 kB / 402 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.02903, allocations: 192 / 402 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.0294, allocations: 420.3 kB / 402.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02941, allocations: 0 / 402.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.02945, allocations: 15.97 kB / 402.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.02946, allocations: 0 / 402.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.02947, allocations: 0 / 402.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02947, allocations: 0 / 402.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02947, allocations: 0 / 402.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.02965, allocations: 247.5 kB / 402.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.02971, allocations: 51.61 kB / 402.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.02974, allocations: 0 / 402.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.02983, allocations: 4 kB / 402.7 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.02989, allocations: 15.97 kB / 402.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.02989, allocations: 4 kB / 402.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000322/0.03022, allocations: 406.9 kB / 403.1 MB, free: 8.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03022, allocations: 0 / 403.1 MB, free: 8.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004917/0.03071, allocations: 151.6 kB / 403.3 MB, free: 8.285 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 0.0001698/0.03088, allocations: 91.25 kB / 403.4 MB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.03124, allocations: 298.2 kB / 403.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.03124, allocations: 0 / 403.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.03127, allocations: 15.67 kB / 403.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.03165, allocations: 79.23 kB / 403.8 MB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.03315, allocations: 0.9464 MB / 404.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.03328, allocations: 193 kB / 404.9 MB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002743/0.03356, allocations: 176.6 kB / 405.1 MB, free: 6.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.03362, allocations: 32.5 kB / 405.1 MB, free: 6.414 MB / 378.7 MB Notification: Performance of SimCode: time 1.763e-06/0.03362, allocations: 0 / 405.1 MB, free: 6.414 MB / 378.7 MB Notification: Performance of Templates: time 0.007629/0.04125, allocations: 4.006 MB / 409.1 MB, free: 2.492 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.2644095381256193]