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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 106.6 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 195.3 kB / 23.52 MB, free: 5.418 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 252.1 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.92 MB / 352.1 MB, free: 12.34 MB / 286.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001941/0.001941, allocations: 67.88 kB / 495.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3439, allocations: 64.26 MB / 0.5468 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008277/0.3522, allocations: 6.375 MB / 0.553 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004551/0.3567, allocations: 1.956 MB / 0.5549 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.3574, allocations: 23.53 kB / 0.5549 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.3589, allocations: 0.624 MB / 0.5555 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006241/0.3595, allocations: 221.1 kB / 0.5558 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3597, allocations: 44.98 kB / 0.5558 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005898/0.3603, allocations: 465.2 kB / 0.5562 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006093/0.3609, allocations: 457.4 kB / 0.5567 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.3613, allocations: 234.5 kB / 0.5569 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.3617, allocations: 321.4 kB / 0.5572 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.3618, allocations: 44 kB / 0.5572 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.3621, allocations: 87.88 kB / 0.5573 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.3624, allocations: 295.1 kB / 0.5576 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.3627, allocations: 341.9 kB / 0.5579 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.3638, allocations: 0.9329 MB / 0.5589 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3638, allocations: 0 / 0.5589 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3638, allocations: 0 / 0.5589 GB, free: 3.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.3638, allocations: 0 / 0.5589 GB, free: 3.508 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001636/0.3654, allocations: 1.019 MB / 0.5598 GB, free: 2.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3655, allocations: 8.031 kB / 0.5599 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005411/0.366, allocations: 144.2 kB / 0.56 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.3667, allocations: 465.8 kB / 0.5604 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.3668, allocations: 29.36 kB / 0.5605 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.3668, allocations: 52.09 kB / 0.5605 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.3685, allocations: 1.249 MB / 0.5617 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.3685, allocations: 0 / 0.5617 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.3686, allocations: 27.92 kB / 0.5618 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004009/0.369, allocations: 240.8 kB / 0.562 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.3703, allocations: 0.8037 MB / 0.5628 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/0.3753, allocations: 5.051 MB / 0.5677 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.3755, allocations: 66.47 kB / 0.5678 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.3756, allocations: 44.91 kB / 0.5678 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3756, allocations: 7.922 kB / 0.5678 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3756, allocations: 34.56 kB / 0.5679 GB, free: 9.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.3756, allocations: 0 / 0.5679 GB, free: 9.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005532/0.3762, allocations: 217.1 kB / 0.5681 GB, free: 9.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3762, allocations: 51.41 kB / 0.5681 GB, free: 9.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3773, allocations: 0.8479 MB / 0.5689 GB, free: 8.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3774, allocations: 29.7 kB / 0.569 GB, free: 8.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.3778, allocations: 0.5535 MB / 0.5695 GB, free: 8.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.3778, allocations: 31.83 kB / 0.5695 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.3781, allocations: 174.5 kB / 0.5697 GB, free: 7.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.3783, allocations: 378.8 kB / 0.5701 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.3786, allocations: 185.8 kB / 0.5702 GB, free: 7.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007756/0.3794, allocations: 0.735 MB / 0.571 GB, free: 6.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.3806, allocations: 0.982 MB / 0.5719 GB, free: 5.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.3806, allocations: 4 kB / 0.5719 GB, free: 5.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001393/0.382, allocations: 0.8762 MB / 0.5728 GB, free: 4.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.382, allocations: 12 kB / 0.5728 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.382, allocations: 20 kB / 0.5728 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-05/0.3821, allocations: 28.81 kB / 0.5728 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.3826, allocations: 191.6 kB / 0.573 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/0.3827, allocations: 39.86 kB / 0.5731 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.3832, allocations: 123.1 kB / 0.5732 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.3833, allocations: 48 kB / 0.5732 GB, free: 3.742 MB / 414.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.arrowLine.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.0004733/0.3837, allocations: 384.6 kB / 0.5736 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/0.3838, allocations: 63.58 kB / 0.5736 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.3839, allocations: 61.45 kB / 0.5737 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.384, allocations: 11.98 kB / 0.5737 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.384, allocations: 0 / 0.5737 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.384, allocations: 0 / 0.5737 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.3846, allocations: 0.5519 MB / 0.5743 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3847, allocations: 0 / 0.5743 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.3847, allocations: 19.92 kB / 0.5743 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3847, allocations: 0 / 0.5743 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3848, allocations: 4 kB / 0.5743 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.3848, allocations: 7.969 kB / 0.5743 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3848, allocations: 0 / 0.5743 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.3852, allocations: 267 kB / 0.5745 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.3853, allocations: 140.7 kB / 0.5747 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.3854, allocations: 3.938 kB / 0.5747 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.3856, allocations: 11.98 kB / 0.5747 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.3856, allocations: 7.984 kB / 0.5747 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.3856, allocations: 7.984 kB / 0.5747 GB, free: 2.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000695/0.3863, allocations: 0.5498 MB / 0.5752 GB, free: 1.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3863, allocations: 0 / 0.5752 GB, free: 1.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006911/0.387, allocations: 155.6 kB / 0.5754 GB, free: 1.422 MB / 414.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.0001526/0.3872, allocations: 107.2 kB / 0.5755 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007327/0.3879, allocations: 403.1 kB / 0.5759 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3879, allocations: 0 / 0.5759 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.388, allocations: 45.52 kB / 0.5759 GB, free: 0.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.3886, allocations: 115.6 kB / 0.576 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.3907, allocations: 1.271 MB / 0.5773 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007579/0.3915, allocations: 1.026 MB / 0.5783 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3916, allocations: 47.42 kB / 0.5783 GB, free: 14.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3916, allocations: 0 / 0.5783 GB, free: 14.36 MB / 430.1 MB Notification: Performance of Templates: time 0.01342/0.405, allocations: 8.169 MB / 0.5863 GB, free: 6.203 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches