Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001744/0.001744, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002234/0.002234, allocations: 204 kB / 23.73 MB, free: 4.379 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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 47.92 kB / 378.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2701, allocations: 53.37 MB / 431.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003598/0.2737, allocations: 2.134 MB / 433.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004721/0.2741, allocations: 203.3 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.2742, allocations: 4 kB / 433.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.006e-05/0.2743, allocations: 35.64 kB / 433.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.2745, allocations: 63.36 kB / 434 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.2747, allocations: 51.94 kB / 434.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.2749, allocations: 234.9 kB / 434.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.2751, allocations: 87 kB / 434.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.2752, allocations: 91.72 kB / 434.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.2754, allocations: 99.55 kB / 434.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.2754, allocations: 20 kB / 434.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.045e-05/0.2754, allocations: 24 kB / 434.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.2755, allocations: 43.84 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.2756, allocations: 99.58 kB / 434.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.276, allocations: 257.2 kB / 435 MB, free: 3.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.276, allocations: 4 kB / 435 MB, free: 3.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.276, allocations: 3.938 kB / 435 MB, free: 3.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.276, allocations: 0 / 435 MB, free: 3.316 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007337/0.2767, allocations: 437.8 kB / 435.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2768, allocations: 12.03 kB / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.2768, allocations: 28.8 kB / 435.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.277, allocations: 169.7 kB / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.2771, allocations: 20.88 kB / 435.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.2771, allocations: 16.38 kB / 435.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.2775, allocations: 236 kB / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.2775, allocations: 192 / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.2776, allocations: 15.94 kB / 435.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2776, allocations: 4 kB / 435.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.2778, allocations: 127.9 kB / 436 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.2789, allocations: 0.732 MB / 436.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.2791, allocations: 159.7 kB / 436.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.2792, allocations: 58.56 kB / 437 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.2792, allocations: 3.984 kB / 437 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2793, allocations: 38.55 kB / 437 MB, free: 1.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.2793, allocations: 0 / 437 MB, free: 1.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004367/0.2797, allocations: 169.7 kB / 437.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.2798, allocations: 114.8 kB / 437.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.28, allocations: 175.5 kB / 437.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.28, allocations: 33.64 kB / 437.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.2801, allocations: 164.1 kB / 437.7 MB, free: 432 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.2802, allocations: 63.44 kB / 437.7 MB, free: 368 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.2803, allocations: 61.88 kB / 437.8 MB, free: 300 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2804, allocations: 322.8 kB / 438.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.364e-05/0.2805, allocations: 52.53 kB / 438.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2807, allocations: 163.5 kB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.281, allocations: 214.2 kB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.281, allocations: 4 kB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003836/0.2814, allocations: 241.2 kB / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2814, allocations: 4 kB / 438.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2814, allocations: 7.938 kB / 438.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.2814, allocations: 8.438 kB / 438.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.2817, allocations: 67.84 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2817, allocations: 4 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2818, allocations: 31.78 kB / 438.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.2818, allocations: 16 kB / 438.9 MB, free: 15.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 initialization (33): * Single equations (assignments): 33 * 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.0001274/0.2819, allocations: 133.8 kB / 439 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.282, allocations: 15.91 kB / 439.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/0.2821, allocations: 29.33 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.2821, allocations: 4 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2821, allocations: 0 / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2821, allocations: 4 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.2826, allocations: 348.5 kB / 439.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.2826, allocations: 7.984 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.2828, allocations: 31.98 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-06/0.2828, allocations: 4 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2828, allocations: 4 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2828, allocations: 4 kB / 439.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2828, allocations: 3.938 kB / 439.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.2833, allocations: 375.2 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.2833, allocations: 23.94 kB / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.2833, allocations: 8.031 kB / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.2835, allocations: 8 kB / 439.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.2835, allocations: 11.92 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2836, allocations: 4 kB / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.2837, allocations: 127.9 kB / 440 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2837, allocations: 0 / 440 MB, free: 13.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.284, allocations: 59.83 kB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * 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.0001139/0.2842, allocations: 99.25 kB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.2844, allocations: 131.8 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2844, allocations: 3.938 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.2845, allocations: 47.92 kB / 440.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.285, allocations: 38.22 kB / 440.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.286, allocations: 0.5957 MB / 441 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2862, allocations: 129.2 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.174e-05/0.2862, allocations: 21.62 kB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.2863, allocations: 19.38 kB / 441.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2863, allocations: 0 / 441.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Templates: time 0.004936/0.2912, allocations: 1.707 MB / 442.9 MB, free: 10.98 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.553629321977496]