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.001183/0.001183, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001519/0.001519, allocations: 172.4 kB / 25.61 MB, free: 8.914 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.9635/0.9635, allocations: 177.2 MB / 206.1 MB, free: 4.504 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.1591/0.1591, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.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.453e-06/1.453e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.227e-05, allocations: 6.25 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.004709/0.004731, allocations: 5.957 MB / 383.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.007613, allocations: 1.921 MB / 385.1 MB, free: 17.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006214/0.008234, allocations: 31.88 kB / 385.2 MB, free: 17.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009799/0.009214, allocations: 0.6462 MB / 385.8 MB, free: 17.01 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.009627, allocations: 206.6 kB / 386 MB, free: 16.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.009863, allocations: 63.78 kB / 386.1 MB, free: 16.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.01022, allocations: 425.9 kB / 386.5 MB, free: 16.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.01059, allocations: 451 kB / 386.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.01092, allocations: 311.2 kB / 387.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.01122, allocations: 255.3 kB / 387.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.01127, allocations: 40 kB / 387.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.01141, allocations: 91.77 kB / 387.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.01156, allocations: 279.2 kB / 387.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.01167, allocations: 175.4 kB / 388.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.01218, allocations: 0.5486 MB / 388.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.01219, allocations: 0 / 388.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.01219, allocations: 4 kB / 388.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.0122, allocations: 0 / 388.6 MB, free: 14.2 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.0008674/0.01307, allocations: 1.005 MB / 389.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.01312, allocations: 11.98 kB / 389.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004864/0.0136, allocations: 188.3 kB / 389.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.01393, allocations: 342.3 kB / 390.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.01395, allocations: 33.36 kB / 390.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.01398, allocations: 48.28 kB / 390.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.01446, allocations: 0.7148 MB / 390.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.01447, allocations: 11.88 kB / 390.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.0145, allocations: 15.98 kB / 391 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.01465, allocations: 176.5 kB / 391.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.01489, allocations: 231.9 kB / 391.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.0167, allocations: 5.683 MB / 397 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.01675, allocations: 23.06 kB / 397.1 MB, free: 5.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.01676, allocations: 23.77 kB / 397.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.01678, allocations: 0 / 397.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.01679, allocations: 41.33 kB / 397.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.01679, allocations: 0 / 397.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001527/0.01695, allocations: 93.45 kB / 397.2 MB, free: 5.121 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.01696, allocations: 51.41 kB / 397.3 MB, free: 5.059 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.01734, allocations: 0.7524 MB / 398 MB, free: 4.285 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.01735, allocations: 25.7 kB / 398.1 MB, free: 4.254 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.01754, allocations: 0.5873 MB / 398.6 MB, free: 3.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.01756, allocations: 31.84 kB / 398.7 MB, free: 3.629 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.01767, allocations: 192.1 kB / 398.9 MB, free: 3.434 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.01775, allocations: 0.5663 MB / 399.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.01779, allocations: 45.95 kB / 399.5 MB, free: 2.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.01801, allocations: 0.8837 MB / 400.4 MB, free: 1.543 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.01846, allocations: 1.021 MB / 401.4 MB, free: 136 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.01847, allocations: 8 kB / 401.4 MB, free: 128 kB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006371/0.0191, allocations: 0.6499 MB / 402 MB, free: 15.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.01913, allocations: 13.88 kB / 402 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.01914, allocations: 20 kB / 402.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.01916, allocations: 28 kB / 402.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.01943, allocations: 171.6 kB / 402.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.01945, allocations: 40.39 kB / 402.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.01974, allocations: 107.1 kB / 402.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.01977, allocations: 55.98 kB / 402.5 MB, free: 15.04 MB / 330.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.0001567/0.01993, allocations: 234.6 kB / 402.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.01998, allocations: 55.62 kB / 402.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.02004, allocations: 56.78 kB / 402.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.02004, allocations: 3.938 kB / 402.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.02004, allocations: 0 / 402.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.02005, allocations: 0 / 402.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.02034, allocations: 284.9 kB / 403.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02035, allocations: 4 kB / 403.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.02039, allocations: 7.984 kB / 403.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.02039, allocations: 0 / 403.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.0204, allocations: 4 kB / 403.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.0204, allocations: 0 / 403.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.0204, allocations: 0 / 403.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.02056, allocations: 243.5 kB / 403.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.02061, allocations: 47.61 kB / 403.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.02064, allocations: 4 kB / 403.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.02072, allocations: 0 / 403.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.02076, allocations: 15.98 kB / 403.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.02076, allocations: 0 / 403.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003149/0.02107, allocations: 382.8 kB / 403.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02107, allocations: 0 / 403.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004026/0.02148, allocations: 143.7 kB / 403.9 MB, free: 13.52 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 0.0001143/0.02159, allocations: 95.25 kB / 404 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.0219, allocations: 282.3 kB / 404.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0219, allocations: 3.938 kB / 404.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.02192, allocations: 11.69 kB / 404.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.02227, allocations: 105.2 kB / 404.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.02344, allocations: 0.9501 MB / 405.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.02356, allocations: 189.2 kB / 405.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.0237, allocations: 68.7 kB / 405.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.02382, allocations: 142.2 kB / 405.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02382, allocations: 3.938 kB / 405.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of Templates: time 0.007742/0.03157, allocations: 4.365 MB / 410.1 MB, free: 7.363 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: 3.143436046782881]