Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.001009/0.001009, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0009613/0.0009613, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9258/0.9258, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.557e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00182/0.001836, allocations: 1.69 MB / 274.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002317/0.002068, allocations: 71.55 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.002124, allocations: 3.938 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.356e-05/0.002217, allocations: 7.938 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.002264, allocations: 19.84 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.002382, allocations: 19.91 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.002485, allocations: 67.72 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.00258, allocations: 12 kB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.00263, allocations: 39.89 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.002694, allocations: 19.92 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.002712, allocations: 4 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.002722, allocations: 4 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.002741, allocations: 19.97 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.002766, allocations: 15.94 kB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.002877, allocations: 47.83 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002879, allocations: 0 / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00288, allocations: 0 / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002884, allocations: 0 / 275 MB, free: 15.48 MB / 266.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.0003268/0.00321, allocations: 392.4 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.003245, allocations: 8.031 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.003285, allocations: 20.83 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.003403, allocations: 124.6 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.00341, allocations: 4.375 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.003434, allocations: 12.38 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.003527, allocations: 64.28 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.003535, allocations: 192 / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.003544, allocations: 384 / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.003549, allocations: 384 / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.003596, allocations: 31.86 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.004018, allocations: 350.8 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.372e-05/0.004092, allocations: 58.92 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.004115, allocations: 19.67 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-06/0.004121, allocations: 4 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.004139, allocations: 37.39 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004141, allocations: 0 / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005006/0.004641, allocations: 364.2 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.00467, allocations: 55.41 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.004753, allocations: 165.9 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.004763, allocations: 25.7 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.004816, allocations: 150.7 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.004835, allocations: 35.73 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.004866, allocations: 31.38 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.004969, allocations: 0.4922 MB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.004988, allocations: 8 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.005036, allocations: 78.05 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/0.005107, allocations: 94.03 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.005108, allocations: 3.938 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.931e-05/0.005207, allocations: 101.5 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.00522, allocations: 11.98 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.005224, allocations: 0 / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.005236, allocations: 4 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.00529, allocations: 19.94 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.005296, allocations: 7.984 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.005318, allocations: 0 / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.005324, allocations: 8 kB / 277.7 MB, free: 12.43 MB / 266.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.931e-05/0.005383, allocations: 164.5 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.005399, allocations: 7.953 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.005422, allocations: 16.5 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005423, allocations: 0 / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.005426, allocations: 0 / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.005429, allocations: 0 / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.005728, allocations: 411.5 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.005731, allocations: 4 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.005778, allocations: 19.98 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.00578, allocations: 0 / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.005788, allocations: 4.156 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.00579, allocations: 7.938 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.005793, allocations: 7.938 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.005951, allocations: 278.2 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-06/0.005961, allocations: 8 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.005972, allocations: 3.984 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.479e-05/0.006007, allocations: 4.188 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.006025, allocations: 15.92 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.00603, allocations: 7.984 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.006063, allocations: 123.2 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006063, allocations: 4.031 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.006225, allocations: 19.94 kB / 278.8 MB, free: 11.23 MB / 266.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 6.465e-05/0.006289, allocations: 99.25 kB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.006393, allocations: 55.53 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.006395, allocations: 0 / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/0.006422, allocations: 39.55 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.006653, allocations: 9.906 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.007036, allocations: 312.8 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.925e-05/0.007076, allocations: 63.34 kB / 279.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.007102, allocations: 8.484 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.007126, allocations: 12.5 kB / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.007127, allocations: 0 / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of Templates: time 0.002004/0.009131, allocations: 0.6602 MB / 280.1 MB, free: 9.906 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5940049290657043]