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.001364/0.001364, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001624/0.001624, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.475/1.475, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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.2213/0.2213, allocations: 34.29 MB / 295 MB, free: 14.58 MB / 286.1 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.804e-06/1.804e-06, allocations: 0 / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.683e-05, allocations: 2.281 kB / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2102/0.2103, allocations: 5.605 MB / 448.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004259/0.2145, allocations: 1.883 MB / 450.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007869/0.2153, allocations: 30.78 kB / 450.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.2169, allocations: 0.6243 MB / 450.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006176/0.2176, allocations: 213.2 kB / 451 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.2178, allocations: 53.89 kB / 451.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006242/0.2185, allocations: 431.7 kB / 451.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008287/0.2193, allocations: 424.9 kB / 451.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005992/0.2199, allocations: 315.4 kB / 452.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.2204, allocations: 259.8 kB / 452.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.2205, allocations: 38.53 kB / 452.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.2208, allocations: 88.48 kB / 452.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003195/0.2211, allocations: 274.5 kB / 452.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.2214, allocations: 183.6 kB / 453 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.2227, allocations: 0.8015 MB / 453.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2227, allocations: 1.859 kB / 453.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2227, allocations: 0 / 453.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.547e-05/0.2227, allocations: 0 / 453.8 MB, free: 14.16 MB / 366.1 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.001973/0.2247, allocations: 0.885 MB / 454.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2247, allocations: 8.188 kB / 454.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009016/0.2256, allocations: 153.5 kB / 454.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.2264, allocations: 393.5 kB / 455.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.2264, allocations: 35.84 kB / 455.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.007e-05/0.2265, allocations: 42.31 kB / 455.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.228, allocations: 1.079 MB / 456.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.228, allocations: 7.219 kB / 456.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.2281, allocations: 28 kB / 456.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003827/0.2285, allocations: 191.1 kB / 456.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.2298, allocations: 0.7145 MB / 457.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.2333, allocations: 4.315 MB / 461.7 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.2335, allocations: 58 kB / 461.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.2336, allocations: 43.56 kB / 461.8 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.2336, allocations: 2.125 kB / 461.8 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2337, allocations: 31.69 kB / 461.8 MB, free: 8.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.2337, allocations: 4 kB / 461.8 MB, free: 8.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006012/0.2343, allocations: 216.1 kB / 462 MB, free: 8.523 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.2343, allocations: 52.59 kB / 462.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.2353, allocations: 0.766 MB / 462.8 MB, free: 8.113 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2354, allocations: 25.7 kB / 462.9 MB, free: 8.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.2357, allocations: 0.527 MB / 463.4 MB, free: 7.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.2357, allocations: 19.77 kB / 463.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.2359, allocations: 170.5 kB / 463.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.236, allocations: 377.9 kB / 463.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.2364, allocations: 181.9 kB / 464.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.2369, allocations: 0.731 MB / 464.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009043/0.2378, allocations: 0.9771 MB / 465.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/0.2378, allocations: 9.781 kB / 465.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001485/0.2393, allocations: 0.8647 MB / 466.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.2394, allocations: 17.75 kB / 466.7 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/0.2394, allocations: 20.5 kB / 466.7 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.842e-05/0.2394, allocations: 26.09 kB / 466.8 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.24, allocations: 177.3 kB / 466.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.527e-05/0.24, allocations: 42.83 kB / 467 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006498/0.2407, allocations: 111.2 kB / 467.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.2408, allocations: 52.78 kB / 467.1 MB, free: 4.949 MB / 366.1 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.0004378/0.2412, allocations: 363.3 kB / 467.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.2413, allocations: 54.31 kB / 467.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.431e-05/0.2414, allocations: 56.22 kB / 467.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2414, allocations: 2.203 kB / 467.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2414, allocations: 1.375 kB / 467.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2414, allocations: 1.719 kB / 467.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.2419, allocations: 344.5 kB / 468 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2419, allocations: 0 / 468 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/0.242, allocations: 12.48 kB / 468 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.242, allocations: 1.094 kB / 468 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.242, allocations: 4.688 kB / 468 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.242, allocations: 6 kB / 468 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.242, allocations: 0 / 468 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.2424, allocations: 269.2 kB / 468.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.2425, allocations: 57.97 kB / 468.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.2425, allocations: 1.453 kB / 468.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2427, allocations: 7.812 kB / 468.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.2428, allocations: 8.609 kB / 468.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2428, allocations: 1.812 kB / 468.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006075/0.2434, allocations: 486.6 kB / 468.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2434, allocations: 0 / 468.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008013/0.2442, allocations: 144.2 kB / 468.9 MB, free: 4.004 MB / 366.1 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.0001717/0.2444, allocations: 97.34 kB / 469 MB, free: 3.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008882/0.2453, allocations: 408.8 kB / 469.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2453, allocations: 0 / 469.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.2454, allocations: 47.84 kB / 469.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007393/0.2462, allocations: 78.81 kB / 469.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.2482, allocations: 1.063 MB / 470.6 MB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.2488, allocations: 392.5 kB / 471 MB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000524/0.2493, allocations: 196 kB / 471.2 MB, free: 3.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.2494, allocations: 35.61 kB / 471.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2494, allocations: 4.969 kB / 471.2 MB, free: 3.016 MB / 366.1 MB Notification: Performance of Templates: time 0.009395/0.2588, allocations: 3.981 MB / 475.2 MB, free: 1.734 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.961157593876123]