Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001923/0.001923, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.003063/0.003063, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.497/1.497, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.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.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.968e-05/4.169e-05, allocations: 3.406 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002848/0.00289, allocations: 1.64 MB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.004094, allocations: 0.5557 MB / 327.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.943e-05/0.004184, allocations: 6.062 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.534e-05/0.004239, allocations: 13.52 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.004385, allocations: 12.48 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.004812, allocations: 68.94 kB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.004952, allocations: 57.64 kB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.005069, allocations: 12.88 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.00524, allocations: 49.48 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.0053, allocations: 15.52 kB / 327.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.005322, allocations: 3.281 kB / 327.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.005367, allocations: 11.27 kB / 327.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.00542, allocations: 22.62 kB / 327.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.005465, allocations: 12.64 kB / 327.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.005655, allocations: 81.08 kB / 327.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.005658, allocations: 0 / 327.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005659, allocations: 0 / 327.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.00567, allocations: 0 / 327.6 MB, free: 14.87 MB / 302.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.0005687/0.006239, allocations: 311.9 kB / 327.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.006278, allocations: 9.562 kB / 327.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.006444, allocations: 22.11 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.006715, allocations: 157 kB / 328.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-06/0.006723, allocations: 2.844 kB / 328.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.006739, allocations: 3.25 kB / 328.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.007066, allocations: 135.9 kB / 328.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.007077, allocations: 4.125 kB / 328.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.007088, allocations: 3.969 kB / 328.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.007095, allocations: 7.938 kB / 328.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.337e-05/0.007188, allocations: 28.14 kB / 328.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.00753, allocations: 233 kB / 328.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.007702, allocations: 90.5 kB / 328.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.007812, allocations: 44.31 kB / 328.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.007837, allocations: 10.62 kB / 328.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.00787, allocations: 46.22 kB / 328.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.007871, allocations: 0 / 328.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000349/0.00822, allocations: 99.92 kB / 328.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.008332, allocations: 137 kB / 328.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.008502, allocations: 156.2 kB / 329.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.00853, allocations: 26.83 kB / 329.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.008602, allocations: 93.06 kB / 329.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.008617, allocations: 5.688 kB / 329.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.008655, allocations: 17.05 kB / 329.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.008835, allocations: 319.5 kB / 329.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.008879, allocations: 5.875 kB / 329.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.008915, allocations: 10.78 kB / 329.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.154e-05/0.008996, allocations: 21.86 kB / 329.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.008998, allocations: 0 / 329.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001323/0.00913, allocations: 56.3 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.009147, allocations: 9.688 kB / 329.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.009151, allocations: 0 / 329.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.009166, allocations: 1.812 kB / 329.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.009235, allocations: 2.906 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.009239, allocations: 1.797 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.009273, allocations: 2.016 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.009279, allocations: 5.219 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001069/0.009386, allocations: 117.6 kB / 329.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.009529, allocations: 73.61 kB / 329.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.009572, allocations: 21.47 kB / 329.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.009575, allocations: 2.25 kB / 329.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.009585, allocations: 5.828 kB / 329.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.009589, allocations: 1.031 kB / 329.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.009769, allocations: 119.7 kB / 330 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.009771, allocations: 1.891 kB / 330 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.009843, allocations: 13.02 kB / 330 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.009846, allocations: 1.469 kB / 330 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.00986, allocations: 7.109 kB / 330 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.009863, allocations: 1.938 kB / 330 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.009864, allocations: 5.125 kB / 330 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.01013, allocations: 196 kB / 330.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.01017, allocations: 18.52 kB / 330.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.0102, allocations: 5.578 kB / 330.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.01028, allocations: 4.188 kB / 330.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.01032, allocations: 6.781 kB / 330.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.01032, allocations: 2.75 kB / 330.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.01043, allocations: 118.1 kB / 330.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01043, allocations: 0 / 330.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.01066, allocations: 9.812 kB / 330.4 MB, free: 12.38 MB / 302.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.0001327/0.01079, allocations: 105.1 kB / 330.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.01095, allocations: 28.28 kB / 330.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01095, allocations: 5.125 kB / 330.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.01099, allocations: 7.438 kB / 330.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.01142, allocations: 38.09 kB / 330.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.01188, allocations: 209.3 kB / 330.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.012, allocations: 81.48 kB / 330.8 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.819e-05/0.01204, allocations: 6.891 kB / 330.8 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.01208, allocations: 12.28 kB / 330.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01208, allocations: 1.156 kB / 330.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Templates: time 0.004275/0.01635, allocations: 0.9085 MB / 331.8 MB, free: 11.76 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.41467360407114]