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.001274/0.001274, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001423/0.001423, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 8 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.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 0.001618/0.001618, allocations: 51.91 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2342, allocations: 53.35 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002964/0.2372, allocations: 1.668 MB / 434 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002529/0.2374, allocations: 71.7 kB / 434.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.2375, allocations: 0 / 434.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.2376, allocations: 11.88 kB / 434.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.217e-05/0.2377, allocations: 19.84 kB / 434.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.2378, allocations: 11.98 kB / 434.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.2379, allocations: 75.59 kB / 434.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.238, allocations: 19.98 kB / 434.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.238, allocations: 23.92 kB / 434.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.2381, allocations: 27.86 kB / 434.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.2381, allocations: 4 kB / 434.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.2381, allocations: 8 kB / 434.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.2382, allocations: 4 kB / 434.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.2382, allocations: 31.86 kB / 434.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.2383, allocations: 64.98 kB / 434.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2383, allocations: 0 / 434.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2383, allocations: 4 kB / 434.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2383, allocations: 0 / 434.4 MB, free: 4.93 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004316/0.2388, allocations: 290.2 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2388, allocations: 8.031 kB / 434.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.2388, allocations: 8.891 kB / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.2391, allocations: 130.4 kB / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.2391, allocations: 384 / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.2391, allocations: 12.38 kB / 434.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2393, allocations: 74.11 kB / 434.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2393, allocations: 4.188 kB / 434.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2393, allocations: 7.938 kB / 434.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2393, allocations: 0 / 434.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.2394, allocations: 35.97 kB / 435 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.24, allocations: 350.8 kB / 435.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2401, allocations: 62.55 kB / 435.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.2402, allocations: 16.8 kB / 435.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.2402, allocations: 4 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.2402, allocations: 30.56 kB / 435.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2402, allocations: 0 / 435.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006912/0.2409, allocations: 375.9 kB / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.241, allocations: 51.41 kB / 435.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2411, allocations: 129.8 kB / 436 MB, free: 3.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2411, allocations: 25.7 kB / 436 MB, free: 3.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.2412, allocations: 92.03 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.2412, allocations: 35.69 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.2412, allocations: 25.72 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2414, allocations: 322.8 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.324e-05/0.2414, allocations: 16 kB / 436.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/0.2415, allocations: 57.14 kB / 436.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.2416, allocations: 93.02 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2416, allocations: 0 / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001744/0.2418, allocations: 109.5 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2418, allocations: 4 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2418, allocations: 4 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2418, allocations: 0 / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.2419, allocations: 27.98 kB / 436.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2419, allocations: 7.875 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.2419, allocations: 4 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2419, allocations: 8.094 kB / 436.8 MB, free: 2.281 MB / 334.1 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 9.712e-05/0.242, allocations: 121.8 kB / 436.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.2421, allocations: 7.953 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.2421, allocations: 8.375 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2421, allocations: 0 / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2421, allocations: 11.88 kB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2421, allocations: 0 / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.2426, allocations: 381.8 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2426, allocations: 4.047 kB / 437.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.2427, allocations: 23.98 kB / 437.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2427, allocations: 0 / 437.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2428, allocations: 11.98 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2428, allocations: 0 / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.2428, allocations: 7.938 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.243, allocations: 236.2 kB / 437.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.243, allocations: 7.953 kB / 437.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.243, allocations: 4.156 kB / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.2431, allocations: 11.94 kB / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.2431, allocations: 3.984 kB / 437.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.2431, allocations: 8 kB / 437.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.873e-05/0.2432, allocations: 91.27 kB / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2432, allocations: 4 kB / 437.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.2434, allocations: 12 kB / 437.7 MB, free: 1.23 MB / 334.1 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 0.0001194/0.2436, allocations: 113.9 kB / 437.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.2437, allocations: 55.86 kB / 437.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2437, allocations: 0 / 437.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.2438, allocations: 31.86 kB / 437.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.2441, allocations: 19.98 kB / 437.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.2447, allocations: 357.9 kB / 438.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.245, allocations: 0.6924 MB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.2451, allocations: 11.44 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2451, allocations: 8 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Templates: time 0.002677/0.2477, allocations: 1.005 MB / 440 MB, free: 14.87 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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: 6.435813640942797]