Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001383/0.001383, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001737/0.001737, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.563/1.563, allocations: 230.5 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 60.14 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2373, allocations: 53.4 MB / 432.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003382/0.2407, allocations: 1.624 MB / 434 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2419, allocations: 0.557 MB / 434.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.242, allocations: 0 / 434.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.058e-05/0.242, allocations: 11.86 kB / 434.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.2422, allocations: 11.88 kB / 434.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.2425, allocations: 63.75 kB / 434.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2426, allocations: 59.78 kB / 434.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2427, allocations: 20.2 kB / 434.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.2428, allocations: 35.86 kB / 434.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.2429, allocations: 27.8 kB / 434.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.2429, allocations: 7.984 kB / 434.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.052e-05/0.243, allocations: 4 kB / 434.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.243, allocations: 19.92 kB / 434.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.243, allocations: 19.81 kB / 434.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.2432, allocations: 74.33 kB / 434.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2432, allocations: 4 kB / 434.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2432, allocations: 0 / 434.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2432, allocations: 0 / 434.9 MB, free: 3.953 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005229/0.2437, allocations: 317.8 kB / 435.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2438, allocations: 19.98 kB / 435.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.2439, allocations: 20.83 kB / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.2442, allocations: 157.4 kB / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.2443, allocations: 384 / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.2443, allocations: 8.375 kB / 435.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.2446, allocations: 143 kB / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2446, allocations: 7.984 kB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2446, allocations: 0 / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2446, allocations: 0 / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.2447, allocations: 31.86 kB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.245, allocations: 231.1 kB / 435.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.2452, allocations: 94.36 kB / 435.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.2453, allocations: 47.42 kB / 436 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2453, allocations: 4 kB / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.2453, allocations: 42.55 kB / 436 MB, free: 2.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.2453, allocations: 0 / 436 MB, free: 2.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002895/0.2456, allocations: 97.5 kB / 436.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.2457, allocations: 133 kB / 436.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.2458, allocations: 150.2 kB / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.2459, allocations: 33.7 kB / 436.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.2459, allocations: 88.12 kB / 436.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.2459, allocations: 15.89 kB / 436.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.246, allocations: 21.66 kB / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2461, allocations: 322.8 kB / 436.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.2462, allocations: 7.984 kB / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.2462, allocations: 49.14 kB / 436.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.2463, allocations: 69.08 kB / 437 MB, free: 1.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.2463, allocations: 3.938 kB / 437 MB, free: 1.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001585/0.2465, allocations: 85.5 kB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2465, allocations: 4.188 kB / 437.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2465, allocations: 4 kB / 437.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2465, allocations: 4 kB / 437.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.2466, allocations: 11.94 kB / 437.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2466, allocations: 7.984 kB / 437.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.2467, allocations: 4 kB / 437.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.2467, allocations: 0 / 437.1 MB, free: 1.477 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 (6): * Single equations (assignments): 6 * 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.0001033/0.2468, allocations: 129.7 kB / 437.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2469, allocations: 69.53 kB / 437.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.2469, allocations: 24 kB / 437.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2469, allocations: 4 kB / 437.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.247, allocations: 128 / 437.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.247, allocations: 0 / 437.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2471, allocations: 129.2 kB / 437.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2471, allocations: 4 kB / 437.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.2472, allocations: 11.94 kB / 437.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.2472, allocations: 4 kB / 437.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.2472, allocations: 0 / 437.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2472, allocations: 3.984 kB / 437.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2472, allocations: 4 kB / 437.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.2474, allocations: 198 kB / 437.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.2475, allocations: 23.94 kB / 437.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2475, allocations: 3.938 kB / 437.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.2476, allocations: 4 kB / 437.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.2476, allocations: 3.938 kB / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.2476, allocations: 4 kB / 437.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.882e-05/0.2477, allocations: 119.9 kB / 437.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2477, allocations: 0 / 437.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.2479, allocations: 8 kB / 437.8 MB, free: 0.668 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (6): * Single equations (assignments): 6 * 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.0001125/0.2481, allocations: 107.2 kB / 438 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.2482, allocations: 39.92 kB / 438 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2482, allocations: 0 / 438 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.2483, allocations: 11.98 kB / 438 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.2487, allocations: 44.52 kB / 438 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.2491, allocations: 247.5 kB / 438.3 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.797e-05/0.2492, allocations: 79.33 kB / 438.4 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.2492, allocations: 19.42 kB / 438.4 MB, free: 64 kB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2492, allocations: 0 / 438.4 MB, free: 64 kB / 334.1 MB Notification: Performance of Templates: time 0.002806/0.252, allocations: 1.051 MB / 439.4 MB, free: 15.02 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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: 7.098361065145582]