Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001668/0.001668, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002265/0.002265, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2787/0.2787, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 79.88 kB / 0.4968 GB, free: 8.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3488, allocations: 65.97 MB / 0.5612 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005681/0.3545, allocations: 6.295 MB / 0.5673 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.3584, allocations: 1.998 MB / 0.5693 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006156/0.359, allocations: 29.19 kB / 0.5693 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.3602, allocations: 0.6272 MB / 0.5699 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004329/0.3607, allocations: 202.8 kB / 0.5701 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3609, allocations: 65.2 kB / 0.5702 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.3612, allocations: 416.6 kB / 0.5706 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.3617, allocations: 365.5 kB / 0.5709 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.3619, allocations: 222.8 kB / 0.5711 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.3622, allocations: 302.6 kB / 0.5714 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.3623, allocations: 39.09 kB / 0.5715 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.3625, allocations: 84.59 kB / 0.5716 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.3627, allocations: 275.1 kB / 0.5718 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.363, allocations: 306.8 kB / 0.5721 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.3641, allocations: 0.825 MB / 0.5729 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3641, allocations: 1.375 kB / 0.5729 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.47e-05/0.3641, allocations: 0.75 kB / 0.5729 GB, free: 27.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.3642, allocations: 0 / 0.5729 GB, free: 27.07 MB / 446.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.001429/0.3656, allocations: 0.9642 MB / 0.5739 GB, free: 26.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3656, allocations: 9.625 kB / 0.5739 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007683/0.3664, allocations: 156.6 kB / 0.574 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.367, allocations: 454.9 kB / 0.5745 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.367, allocations: 35.09 kB / 0.5745 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/0.3671, allocations: 42.73 kB / 0.5745 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.3684, allocations: 1.084 MB / 0.5756 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.3684, allocations: 6.594 kB / 0.5756 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.3684, allocations: 18.8 kB / 0.5756 GB, free: 25.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000347/0.3688, allocations: 194 kB / 0.5758 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.3698, allocations: 0.7171 MB / 0.5765 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.373, allocations: 4.653 MB / 0.581 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.3732, allocations: 58.28 kB / 0.5811 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3733, allocations: 48.45 kB / 0.5811 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3733, allocations: 0 / 0.5811 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3733, allocations: 32.73 kB / 0.5812 GB, free: 21.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3733, allocations: 0 / 0.5812 GB, free: 21.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005075/0.3738, allocations: 226 kB / 0.5814 GB, free: 21.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.3739, allocations: 56.78 kB / 0.5814 GB, free: 20.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008904/0.3747, allocations: 0.8157 MB / 0.5822 GB, free: 20.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.3748, allocations: 25.7 kB / 0.5823 GB, free: 20.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.375, allocations: 0.5202 MB / 0.5828 GB, free: 20.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.375, allocations: 24.86 kB / 0.5828 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.3752, allocations: 174.9 kB / 0.583 GB, free: 20.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.3753, allocations: 377.5 kB / 0.5833 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.3756, allocations: 176.6 kB / 0.5835 GB, free: 19.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.3761, allocations: 0.7358 MB / 0.5842 GB, free: 18.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.3769, allocations: 0.9794 MB / 0.5852 GB, free: 17.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.3769, allocations: 5.594 kB / 0.5852 GB, free: 17.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001188/0.3781, allocations: 0.8708 MB / 0.586 GB, free: 17.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.3781, allocations: 13.25 kB / 0.586 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.3781, allocations: 21.09 kB / 0.5861 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/0.3782, allocations: 34.03 kB / 0.5861 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.3786, allocations: 176.9 kB / 0.5863 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.358e-05/0.3787, allocations: 38.41 kB / 0.5863 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/0.3792, allocations: 121.9 kB / 0.5864 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.3793, allocations: 51.52 kB / 0.5865 GB, free: 17.41 MB / 446.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.0003394/0.3796, allocations: 359.1 kB / 0.5868 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.3797, allocations: 65.95 kB / 0.5869 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.702e-05/0.3798, allocations: 59.86 kB / 0.5869 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3798, allocations: 5.703 kB / 0.5869 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3798, allocations: 4 kB / 0.5869 GB, free: 17.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3798, allocations: 1.094 kB / 0.5869 GB, free: 17.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.3803, allocations: 0.4948 MB / 0.5874 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3803, allocations: 0 / 0.5874 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-05/0.3804, allocations: 17.3 kB / 0.5874 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3804, allocations: 0 / 0.5874 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3804, allocations: 1.578 kB / 0.5874 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3804, allocations: 7.938 kB / 0.5874 GB, free: 16.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3804, allocations: 1.719 kB / 0.5874 GB, free: 16.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3808, allocations: 271.1 kB / 0.5877 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3809, allocations: 135.9 kB / 0.5878 GB, free: 16.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.3809, allocations: 1.281 kB / 0.5878 GB, free: 16.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.3811, allocations: 11.91 kB / 0.5878 GB, free: 16.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.3812, allocations: 11.66 kB / 0.5879 GB, free: 16.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3812, allocations: 1.656 kB / 0.5879 GB, free: 16.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005831/0.3818, allocations: 0.5324 MB / 0.5884 GB, free: 16.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3818, allocations: 0 / 0.5884 GB, free: 16.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006404/0.3824, allocations: 142.7 kB / 0.5885 GB, free: 16.23 MB / 446.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.000105/0.3825, allocations: 94.72 kB / 0.5886 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006409/0.3832, allocations: 410 kB / 0.589 GB, free: 16.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3832, allocations: 0 / 0.589 GB, free: 16.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.3833, allocations: 47.3 kB / 0.589 GB, free: 16.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.3838, allocations: 105.9 kB / 0.5891 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.3854, allocations: 1.105 MB / 0.5902 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.3859, allocations: 0.9892 MB / 0.5912 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004614/0.3864, allocations: 208.1 kB / 0.5914 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.3865, allocations: 37.06 kB / 0.5914 GB, free: 14.61 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3865, allocations: 0 / 0.5914 GB, free: 14.61 MB / 446.1 MB Notification: Performance of Templates: time 0.01073/0.3972, allocations: 4.801 MB / 0.5961 GB, free: 14.02 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.32289859559387]