Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001623/0.001623, allocations: 110.4 kB / 21.17 MB, free: 0.7734 MB / 14.72 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.002395/0.002395, allocations: 215.6 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.492/1.492, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2916, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003429/0.295, allocations: 1.671 MB / 433.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002508/0.2952, allocations: 67.72 kB / 433.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.2953, allocations: 4 kB / 433.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.2954, allocations: 7.922 kB / 433.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.2955, allocations: 19.8 kB / 433.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.2957, allocations: 15.98 kB / 433.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.2958, allocations: 63.72 kB / 433.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2959, allocations: 19.98 kB / 433.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.615e-05/0.2959, allocations: 23.86 kB / 433.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.296, allocations: 27.92 kB / 433.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.296, allocations: 4 kB / 434 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.296, allocations: 4 kB / 434 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.2961, allocations: 19.92 kB / 434 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.2961, allocations: 23.88 kB / 434 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.2963, allocations: 69.27 kB / 434.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2963, allocations: 0 / 434.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2963, allocations: 0 / 434.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2963, allocations: 0 / 434.1 MB, free: 5.359 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.000534/0.2969, allocations: 367.2 kB / 434.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2969, allocations: 12.03 kB / 434.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.2969, allocations: 12.89 kB / 434.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.2972, allocations: 184.2 kB / 434.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.2972, allocations: 4.375 kB / 434.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.2972, allocations: 8.375 kB / 434.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.2974, allocations: 70.17 kB / 434.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2975, allocations: 192 / 434.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.2975, allocations: 7.938 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2975, allocations: 0 / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.2976, allocations: 35.98 kB / 434.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.2983, allocations: 387.7 kB / 435.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.2985, allocations: 54.56 kB / 435.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.2985, allocations: 16.86 kB / 435.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2985, allocations: 0 / 435.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2985, allocations: 30.56 kB / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.2985, allocations: 0 / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009639/0.2995, allocations: 0.5208 MB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.2995, allocations: 51.41 kB / 435.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2997, allocations: 125.8 kB / 435.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2997, allocations: 29.7 kB / 436 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.2998, allocations: 92.03 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.2998, allocations: 39.69 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.2999, allocations: 26.19 kB / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3, allocations: 318.8 kB / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.3, allocations: 19.98 kB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.3001, allocations: 57.14 kB / 436.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3002, allocations: 89.03 kB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3002, allocations: 3.938 kB / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001666/0.3004, allocations: 109.5 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3004, allocations: 7.984 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3004, allocations: 4 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3005, allocations: 4.094 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.3005, allocations: 20 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.3006, allocations: 7.922 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.3006, allocations: 4 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3006, allocations: 8 kB / 436.7 MB, free: 2.324 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 0.0001063/0.3007, allocations: 117.8 kB / 436.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.3007, allocations: 7.953 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.3008, allocations: 8.375 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3008, allocations: 8 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3008, allocations: 3.938 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3008, allocations: 0 / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.3013, allocations: 406.6 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3014, allocations: 4 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.131e-05/0.3014, allocations: 28.08 kB / 437.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3014, allocations: 3.938 kB / 437.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3015, allocations: 4 kB / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3015, allocations: 0 / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3015, allocations: 4 kB / 437.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.3019, allocations: 235.9 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.3019, allocations: 85.05 kB / 437.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.302, allocations: 11.98 kB / 437.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3021, allocations: 7.938 kB / 437.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.3021, allocations: 4 kB / 437.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3021, allocations: 4 kB / 437.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.579e-05/0.3022, allocations: 103.4 kB / 437.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3022, allocations: 0 / 437.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.3025, allocations: 16 kB / 437.8 MB, free: 1.148 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.0001103/0.3026, allocations: 99.19 kB / 437.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.3028, allocations: 67.78 kB / 437.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3028, allocations: 0 / 437.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.924e-05/0.3028, allocations: 24.38 kB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3031, allocations: 20.05 kB / 438 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/0.3038, allocations: 346.8 kB / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.3042, allocations: 0.6929 MB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.3042, allocations: 4.438 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.3042, allocations: 11.44 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3042, allocations: 0 / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Templates: time 0.003594/0.3078, allocations: 0.693 MB / 439.7 MB, free: 15.13 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.426403203979135]