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.001483/0.001483, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001657/0.001657, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.397/1.397, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.001925/0.001925, allocations: 67.84 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.237, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00301/0.24, allocations: 1.675 MB / 433.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002602/0.2403, allocations: 67.72 kB / 433.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.2404, allocations: 0 / 433.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.2405, allocations: 11.88 kB / 433.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.2405, allocations: 19.84 kB / 433.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.2407, allocations: 11.98 kB / 433.8 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2408, allocations: 71.66 kB / 433.9 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2409, allocations: 19.98 kB / 433.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.208e-05/0.2409, allocations: 23.92 kB / 433.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.241, allocations: 23.92 kB / 434 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.241, allocations: 7.938 kB / 434 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.2411, allocations: 4 kB / 434 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.2411, allocations: 15.92 kB / 434 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.2411, allocations: 31.86 kB / 434 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.2412, allocations: 61.28 kB / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2413, allocations: 0 / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2413, allocations: 0 / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2413, allocations: 4 kB / 434.1 MB, free: 5.332 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.000482/0.2417, allocations: 367.3 kB / 434.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2418, allocations: 8.031 kB / 434.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.2418, allocations: 8.891 kB / 434.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.2421, allocations: 184.2 kB / 434.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.2421, allocations: 4.375 kB / 434.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.2421, allocations: 12.36 kB / 434.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.2422, allocations: 70.17 kB / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2423, allocations: 4.188 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2423, allocations: 7.938 kB / 434.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2423, allocations: 4 kB / 434.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.2424, allocations: 31.98 kB / 434.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.243, allocations: 379.7 kB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.2431, allocations: 50.56 kB / 435.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.2431, allocations: 20.86 kB / 435.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.2432, allocations: 3.938 kB / 435.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2432, allocations: 34.56 kB / 435.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.2432, allocations: 0 / 435.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007405/0.2439, allocations: 0.5052 MB / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.244, allocations: 63.41 kB / 435.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2441, allocations: 121.8 kB / 435.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2441, allocations: 29.7 kB / 436 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.2442, allocations: 96.03 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.2442, allocations: 35.69 kB / 436.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.2442, allocations: 25.72 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.2443, allocations: 314.8 kB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.2444, allocations: 20 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.2444, allocations: 57.14 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.2446, allocations: 93 kB / 436.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2446, allocations: 4 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001596/0.2447, allocations: 109.5 kB / 436.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2447, allocations: 8 kB / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2447, allocations: 0 / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.2448, allocations: 7.984 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.2448, allocations: 16 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.2449, allocations: 11.88 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.2449, allocations: 4 kB / 436.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.2449, allocations: 7.984 kB / 436.7 MB, free: 2.305 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 8.785e-05/0.245, allocations: 117.9 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.245, allocations: 11.95 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.2451, allocations: 16.38 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2451, allocations: 0 / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2451, allocations: 3.938 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2451, allocations: 0 / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.2456, allocations: 414.5 kB / 437.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2456, allocations: 0 / 437.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/0.2456, allocations: 19.98 kB / 437.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2456, allocations: 7.938 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2457, allocations: 4 kB / 437.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2457, allocations: 4 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2457, allocations: 0.8594 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.2459, allocations: 235.8 kB / 437.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.246, allocations: 85.09 kB / 437.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.246, allocations: 480 / 437.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.246, allocations: 16.05 kB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.2461, allocations: 4 kB / 437.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.2461, allocations: 4 kB / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.161e-05/0.2461, allocations: 95.2 kB / 437.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2461, allocations: 0 / 437.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.2464, allocations: 16 kB / 437.8 MB, free: 1.137 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.0001084/0.2465, allocations: 107.1 kB / 437.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.2466, allocations: 72.2 kB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2466, allocations: 0 / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.2467, allocations: 27.88 kB / 438 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.247, allocations: 11.98 kB / 438 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.2476, allocations: 368.9 kB / 438.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2479, allocations: 0.6929 MB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.248, allocations: 15.44 kB / 439.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.248, allocations: 0 / 439.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Templates: time 0.0025/0.2505, allocations: 0.9958 MB / 440.1 MB, free: 14.77 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 -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: 6.537365797907114]