Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.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.0009818/0.0009818, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001033/0.001033, allocations: 166.1 kB / 24.82 MB, free: 9.258 MB / 18.57 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 0.9851/0.9851, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.816e-05, allocations: 5.266 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003688/0.003716, allocations: 1.679 MB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004265/0.004142, allocations: 63.78 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.004243, allocations: 7.938 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.004378, allocations: 7.922 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.00445, allocations: 19.8 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.004586, allocations: 19.91 kB / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.004726, allocations: 71.66 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.00484, allocations: 12 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.004922, allocations: 31.95 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.005002, allocations: 31.91 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.005024, allocations: 4 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.005038, allocations: 4 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.005063, allocations: 15.92 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.005094, allocations: 15.98 kB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.005205, allocations: 47.83 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005208, allocations: 0 / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005209, allocations: 0 / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.005213, allocations: 0 / 275.3 MB, free: 15.21 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.0003565/0.005569, allocations: 388.4 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.005608, allocations: 15.98 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.005644, allocations: 20.83 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.005762, allocations: 124.6 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.005772, allocations: 384 / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.00579, allocations: 8.375 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.476e-05/0.005885, allocations: 58.17 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005894, allocations: 192 / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.005902, allocations: 4.375 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.005909, allocations: 4.375 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.591e-05/0.005945, allocations: 27.84 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.006369, allocations: 331.5 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.2e-05/0.006441, allocations: 58.97 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.006468, allocations: 19.61 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.006476, allocations: 0 / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.006501, allocations: 41.39 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.006502, allocations: 0 / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004882/0.00699, allocations: 348.2 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.007023, allocations: 55.34 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.00711, allocations: 170.8 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.007121, allocations: 25.7 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.007189, allocations: 150.7 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.007213, allocations: 39.67 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.007249, allocations: 27.38 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.007374, allocations: 0.4884 MB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.007391, allocations: 12 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.007439, allocations: 70.03 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.007511, allocations: 86.03 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007513, allocations: 7.938 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001057/0.007619, allocations: 93.5 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007634, allocations: 6.969 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.007641, allocations: 4 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.007655, allocations: 0 / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.007725, allocations: 31.92 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.007731, allocations: 320 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.007757, allocations: 4 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.007765, allocations: 4 kB / 278 MB, free: 12.22 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 0.0001028/0.007867, allocations: 168.6 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.007889, allocations: 8 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.007924, allocations: 8.438 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.007927, allocations: 0 / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.007929, allocations: 0 / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.007933, allocations: 0 / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.008267, allocations: 396.1 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.008269, allocations: 160 / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.008318, allocations: 20 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008321, allocations: 0 / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008329, allocations: 8 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.008333, allocations: 11.92 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.008336, allocations: 3.984 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.008499, allocations: 274.2 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.008508, allocations: 7.953 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.008519, allocations: 7.938 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.008557, allocations: 8 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.008572, allocations: 15.95 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.008575, allocations: 0 / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.718e-05/0.008612, allocations: 127.2 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008612, allocations: 3.938 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001748/0.008787, allocations: 20 kB / 279.1 MB, free: 11.05 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 8.203e-05/0.008869, allocations: 95.23 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.878e-05/0.008958, allocations: 51.83 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.00896, allocations: 0 / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.387e-05/0.008984, allocations: 39.98 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.009196, allocations: 12.08 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.009564, allocations: 308.8 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.869e-05/0.009603, allocations: 63.34 kB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.955e-05/0.009632, allocations: 4.5 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.009682, allocations: 78.2 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.009683, allocations: 0 / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of Templates: time 0.002281/0.01196, allocations: 0.7049 MB / 280.4 MB, free: 9.625 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.646153003908694]