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.001086/0.001086, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001393/0.001393, allocations: 169.9 kB / 24.91 MB, free: 9.199 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.9735/0.9735, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2444/0.2444, allocations: 32.8 MB / 294.6 MB, free: 1.258 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.553e-06/1.553e-06, allocations: 0 / 323.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.043e-05, allocations: 8.703 kB / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005135/0.005156, allocations: 5.966 MB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.008382, allocations: 1.994 MB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.008724, allocations: 27.94 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008774/0.009601, allocations: 0.6579 MB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.009926, allocations: 210.6 kB / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.01011, allocations: 59.8 kB / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.01046, allocations: 433.9 kB / 332.5 MB, free: 356 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/0.01087, allocations: 461.8 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.01115, allocations: 311.1 kB / 333.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.0114, allocations: 243.3 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.01144, allocations: 40 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.01156, allocations: 87.88 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.01173, allocations: 279.2 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.01186, allocations: 179.4 kB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.01231, allocations: 0.5446 MB / 334.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01232, allocations: 0 / 334.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01232, allocations: 4 kB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.01232, allocations: 0 / 334.6 MB, free: 14.21 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.0007688/0.01309, allocations: 0.8307 MB / 335.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.01312, allocations: 12.03 kB / 335.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.01351, allocations: 148.7 kB / 335.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.01385, allocations: 331.5 kB / 336 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.01387, allocations: 33.3 kB / 336 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.01391, allocations: 40.36 kB / 336 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.0144, allocations: 0.6331 MB / 336.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.01442, allocations: 11.88 kB / 336.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.01444, allocations: 19.98 kB / 336.7 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.01461, allocations: 176.5 kB / 336.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.01485, allocations: 238.9 kB / 337.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.01664, allocations: 3.887 MB / 341 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.003e-05/0.01668, allocations: 26.55 kB / 341 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.01669, allocations: 8.859 kB / 341 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.0167, allocations: 0 / 341 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.01672, allocations: 34.5 kB / 341.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.01672, allocations: 0 / 341.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001251/0.01685, allocations: 65.75 kB / 341.1 MB, free: 7.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.01687, allocations: 55.41 kB / 341.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.0172, allocations: 0.6048 MB / 341.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.01721, allocations: 25.7 kB / 341.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.0174, allocations: 495.7 kB / 342.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.01741, allocations: 23.94 kB / 342.3 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01752, allocations: 166.4 kB / 342.5 MB, free: 5.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.01762, allocations: 370.6 kB / 342.8 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-05/0.01767, allocations: 53.95 kB / 342.9 MB, free: 5.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.01794, allocations: 0.6101 MB / 343.5 MB, free: 4.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.01836, allocations: 0.774 MB / 344.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.01837, allocations: 8 kB / 344.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004467/0.01882, allocations: 0.5482 MB / 344.8 MB, free: 3.059 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01883, allocations: 16 kB / 344.8 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.01885, allocations: 23.94 kB / 344.9 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.01887, allocations: 24.78 kB / 344.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.01911, allocations: 175.6 kB / 345.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.01913, allocations: 39.86 kB / 345.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.01936, allocations: 111.2 kB / 345.2 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.0194, allocations: 44 kB / 345.3 MB, free: 2.633 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.0001501/0.01955, allocations: 194.7 kB / 345.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.01958, allocations: 31.89 kB / 345.5 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.01963, allocations: 52.8 kB / 345.5 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.01963, allocations: 0 / 345.5 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.01963, allocations: 0 / 345.5 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01963, allocations: 4 kB / 345.5 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.01981, allocations: 205.6 kB / 345.7 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01981, allocations: 3.984 kB / 345.7 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.01984, allocations: 8 kB / 345.7 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01984, allocations: 0 / 345.7 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.01984, allocations: 0 / 345.7 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01984, allocations: 3.984 kB / 345.7 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01984, allocations: 0 / 345.7 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.171e-05/0.01994, allocations: 163.6 kB / 345.9 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.01998, allocations: 51.66 kB / 346 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.02, allocations: 4 kB / 346 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.02007, allocations: 7.984 kB / 346 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.0201, allocations: 7.938 kB / 346 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.0201, allocations: 0 / 346 MB, free: 1.855 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.02026, allocations: 240.6 kB / 346.2 MB, free: 1.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02026, allocations: 0 / 346.2 MB, free: 1.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000344/0.02061, allocations: 151.6 kB / 346.4 MB, free: 1.473 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 8.548e-05/0.02069, allocations: 80.39 kB / 346.4 MB, free: 1.383 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.02091, allocations: 262.7 kB / 346.7 MB, free: 1.129 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/0.02092, allocations: 15.81 kB / 346.7 MB, free: 1.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.02094, allocations: 16.83 kB / 346.7 MB, free: 1.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.02119, allocations: 82.77 kB / 346.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.02216, allocations: 0.9757 MB / 347.8 MB, free: 24 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.02228, allocations: 189.1 kB / 348 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.02241, allocations: 72.64 kB / 348 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.02253, allocations: 119.3 kB / 348.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02253, allocations: 0 / 348.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of Templates: time 0.006308/0.02884, allocations: 4.187 MB / 352.3 MB, free: 11.52 MB / 330.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: 2.9203125908970833]