Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.001366/0.001366, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001451/0.001451, allocations: 147.5 kB / 24.81 MB, free: 9.27 MB / 18.57 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.044/1.044, allocations: 173.4 MB / 201.4 MB, free: 9.223 MB / 186.7 MB " [Timeout remaining time 179] 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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 268.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.32e-05, allocations: 2.312 kB / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002303/0.002326, allocations: 1.671 MB / 270.1 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001881/0.002514, allocations: 75.72 kB / 270.1 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.002566, allocations: 0 / 270.1 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.931e-05/0.002645, allocations: 7.875 kB / 270.1 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.002686, allocations: 23.78 kB / 270.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.147e-05/0.002777, allocations: 19.97 kB / 270.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.835e-05/0.002855, allocations: 59.67 kB / 270.2 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.184e-05/0.002937, allocations: 15.98 kB / 270.3 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.002989, allocations: 43.89 kB / 270.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.003041, allocations: 15.98 kB / 270.3 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.003054, allocations: 4 kB / 270.3 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-06/0.003064, allocations: 4 kB / 270.3 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.003083, allocations: 23.91 kB / 270.3 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.00311, allocations: 16 kB / 270.4 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.588e-05/0.003196, allocations: 39.83 kB / 270.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003197, allocations: 0 / 270.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003198, allocations: 0 / 270.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.003201, allocations: 4 kB / 270.4 MB, free: 4.203 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00029/0.003491, allocations: 388.4 kB / 270.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.003524, allocations: 20.91 kB / 270.8 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.003548, allocations: 8.891 kB / 270.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.62e-05/0.003644, allocations: 124.5 kB / 270.9 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.003655, allocations: 12.36 kB / 270.9 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.00367, allocations: 8.328 kB / 271 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.654e-05/0.003747, allocations: 58.17 kB / 271 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.003756, allocations: 4.188 kB / 271 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.003761, allocations: 384 / 271 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.003766, allocations: 384 / 271 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.003799, allocations: 31.38 kB / 271 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.004133, allocations: 339.4 kB / 271.4 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.797e-05/0.004191, allocations: 50.97 kB / 271.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.00421, allocations: 19.62 kB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.004216, allocations: 7.938 kB / 271.5 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.004234, allocations: 33.39 kB / 271.5 MB, free: 2.992 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.004235, allocations: 0 / 271.5 MB, free: 2.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003925/0.004627, allocations: 344.1 kB / 271.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.004657, allocations: 55.41 kB / 271.9 MB, free: 2.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.074e-05/0.004728, allocations: 170 kB / 272 MB, free: 2.344 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.004739, allocations: 29.7 kB / 272.1 MB, free: 2.309 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.004791, allocations: 142.7 kB / 272.2 MB, free: 2.164 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.004811, allocations: 35.69 kB / 272.2 MB, free: 2.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.004845, allocations: 35.36 kB / 272.3 MB, free: 2.086 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.004959, allocations: 0.4923 MB / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.004973, allocations: 7.984 kB / 272.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/0.005022, allocations: 70.03 kB / 272.8 MB, free: 1.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.842e-05/0.00509, allocations: 86.05 kB / 272.9 MB, free: 1.371 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005092, allocations: 3.938 kB / 272.9 MB, free: 1.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.367e-05/0.005186, allocations: 89.69 kB / 273 MB, free: 1.273 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.005201, allocations: 8 kB / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.005207, allocations: 0 / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.005221, allocations: 3.984 kB / 273 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.005278, allocations: 27.92 kB / 273.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.005283, allocations: 5.172 kB / 273.1 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.005304, allocations: 4 kB / 273.1 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.00531, allocations: 12.09 kB / 273.1 MB, free: 1.215 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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 5.534e-05/0.005365, allocations: 164.5 kB / 273.2 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.005379, allocations: 7.953 kB / 273.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.005402, allocations: 8.438 kB / 273.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.005406, allocations: 7.984 kB / 273.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.005407, allocations: 0 / 273.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.00541, allocations: 0 / 273.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.005678, allocations: 384.3 kB / 273.6 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005679, allocations: 4.031 kB / 273.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.005723, allocations: 19.98 kB / 273.7 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.005726, allocations: 4 kB / 273.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-06/0.005732, allocations: 0 / 273.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.005735, allocations: 7.938 kB / 273.7 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.005736, allocations: 0 / 273.7 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.005873, allocations: 286.1 kB / 274 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.005879, allocations: 7.953 kB / 274 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.005888, allocations: 3.984 kB / 274 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.005923, allocations: 4.031 kB / 274 MB, free: 220 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.005937, allocations: 15.94 kB / 274 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.00594, allocations: 4 kB / 274 MB, free: 200 kB / 250.7 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.005971, allocations: 131.2 kB / 274.1 MB, free: 68 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005971, allocations: 0 / 274.1 MB, free: 68 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.006122, allocations: 16 kB / 274.1 MB, free: 52 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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 7.234e-05/0.006194, allocations: 99.19 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.263e-05/0.006267, allocations: 59.53 kB / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006268, allocations: 192 / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.04e-05/0.006289, allocations: 31.61 kB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.006473, allocations: 16.22 kB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.006805, allocations: 301.2 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.006841, allocations: 63.34 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.503e-05/0.006866, allocations: 16.47 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.006907, allocations: 78.2 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006908, allocations: 0 / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of Templates: time 0.0019/0.008807, allocations: 0.6944 MB / 275.5 MB, free: 14.63 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.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: 2.7376370932906866]