Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 81.58 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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(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.0.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.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.746e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004414/0.004442, allocations: 2.13 MB / 321 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007362/0.005178, allocations: 190.8 kB / 321.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.005393, allocations: 4.75 kB / 321.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.005549, allocations: 43.62 kB / 321.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.005835, allocations: 64.88 kB / 321.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.006085, allocations: 49.14 kB / 321.4 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.006449, allocations: 245.2 kB / 321.6 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.006706, allocations: 77.17 kB / 321.7 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.00701, allocations: 142.4 kB / 321.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.007214, allocations: 78.03 kB / 321.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.412e-05/0.007289, allocations: 20.69 kB / 321.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.776e-05/0.007356, allocations: 22.25 kB / 322 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.007414, allocations: 45.75 kB / 322 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.007553, allocations: 76.19 kB / 322.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.008003, allocations: 258.3 kB / 322.3 MB, free: 1.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.008007, allocations: 2.656 kB / 322.3 MB, free: 1.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008008, allocations: 3.938 kB / 322.3 MB, free: 1.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.008018, allocations: 0 / 322.3 MB, free: 1.449 MB / 286.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.0009471/0.008966, allocations: 450 kB / 322.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.009014, allocations: 10.27 kB / 322.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.009106, allocations: 24.36 kB / 322.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.0094, allocations: 163.9 kB / 323 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.009428, allocations: 14.03 kB / 323 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.009508, allocations: 24.06 kB / 323 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.01008, allocations: 230.4 kB / 323.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.01011, allocations: 13.92 kB / 323.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.01014, allocations: 6.188 kB / 323.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.01016, allocations: 7.359 kB / 323.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.01056, allocations: 133.8 kB / 323.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.01198, allocations: 0.7305 MB / 324.1 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.01232, allocations: 152.4 kB / 324.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.01249, allocations: 71.09 kB / 324.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.0125, allocations: 5.625 kB / 324.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.01254, allocations: 34.56 kB / 324.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/0.01255, allocations: 0 / 324.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006173/0.01316, allocations: 168.2 kB / 324.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/0.01326, allocations: 114 kB / 324.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.01354, allocations: 175.5 kB / 324.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.01357, allocations: 26.89 kB / 324.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.01376, allocations: 165.8 kB / 325 MB, free: 15.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/0.01386, allocations: 65.56 kB / 325.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.01398, allocations: 51.2 kB / 325.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.0142, allocations: 327.8 kB / 325.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.01436, allocations: 48.31 kB / 325.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.01464, allocations: 156.5 kB / 325.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.01511, allocations: 227.1 kB / 325.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.01511, allocations: 1.984 kB / 325.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006227/0.01574, allocations: 237.7 kB / 326.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.01576, allocations: 7.312 kB / 326.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.01577, allocations: 4.031 kB / 326.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.0158, allocations: 5.344 kB / 326.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.01615, allocations: 62.28 kB / 326.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.01617, allocations: 14.3 kB / 326.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.01641, allocations: 27.34 kB / 326.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.01644, allocations: 9.969 kB / 326.2 MB, free: 14.45 MB / 302.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.0001951/0.01664, allocations: 142.9 kB / 326.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.01677, allocations: 16.56 kB / 326.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.702e-05/0.01683, allocations: 27.17 kB / 326.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01684, allocations: 2.094 kB / 326.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.01685, allocations: 5.031 kB / 326.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.01686, allocations: 2.547 kB / 326.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008273/0.01768, allocations: 337.2 kB / 326.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.01769, allocations: 1.062 kB / 326.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.01801, allocations: 39.88 kB / 326.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.01802, allocations: 9.156 kB / 326.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.01805, allocations: 7.828 kB / 326.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.01806, allocations: 2.094 kB / 326.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.01806, allocations: 1.891 kB / 326.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/0.01871, allocations: 384.2 kB / 327.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.01876, allocations: 22.97 kB / 327.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.01881, allocations: 8.125 kB / 327.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.01905, allocations: 1.156 kB / 327.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.01911, allocations: 19.83 kB / 327.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.01913, allocations: 8.312 kB / 327.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.01928, allocations: 129.4 kB / 327.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.01928, allocations: 1 kB / 327.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006985/0.01998, allocations: 57.11 kB / 327.4 MB, free: 13.52 MB / 302.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.0001707/0.02015, allocations: 98.12 kB / 327.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.02056, allocations: 133.4 kB / 327.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.02056, allocations: 1.156 kB / 327.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.02069, allocations: 58.02 kB / 327.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.02142, allocations: 28.25 kB / 327.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.02276, allocations: 0.4947 MB / 328.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.02295, allocations: 126.9 kB / 328.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.02309, allocations: 22.23 kB / 328.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.02315, allocations: 17.91 kB / 328.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.02315, allocations: 0 / 328.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of Templates: time 0.007307/0.03046, allocations: 1.411 MB / 329.8 MB, free: 12.68 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.294407743960619]