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.001691/0.001691, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.002122/0.002122, allocations: 158.5 kB / 24.91 MB, free: 8.719 MB / 18.57 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.055/1.055, allocations: 177 MB / 205.2 MB, free: 5.031 MB / 186.7 MB " [Timeout remaining time 179] 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 2.815e-06/2.815e-06, allocations: 4 kB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.766e-05/4.048e-05, allocations: 5.266 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002977/0.003018, allocations: 1.709 MB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.003923, allocations: 0.5801 MB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.922e-05/0.004013, allocations: 7.938 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.01e-05/0.004063, allocations: 7.875 kB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.004202, allocations: 11.86 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.004465, allocations: 63.75 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.004575, allocations: 67.72 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.942e-05/0.004654, allocations: 16.2 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.004782, allocations: 43.84 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.004834, allocations: 19.91 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.004848, allocations: 4 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.004899, allocations: 8 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.004933, allocations: 19.92 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.004954, allocations: 11.94 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.005089, allocations: 59.73 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005092, allocations: 0 / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.005093, allocations: 4 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005098, allocations: 0 / 276.1 MB, free: 14.34 MB / 266.7 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.0003411/0.005439, allocations: 288.5 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.005474, allocations: 15.98 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.005591, allocations: 20.91 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.005782, allocations: 157.5 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.005791, allocations: 384 / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.0058, allocations: 8.375 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.00601, allocations: 139.9 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.006018, allocations: 192 / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.006026, allocations: 4.312 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006032, allocations: 7.938 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.006053, allocations: 11.94 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.006249, allocations: 166.8 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.688e-05/0.006326, allocations: 86.3 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.006356, allocations: 31.56 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.006378, allocations: 4 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.006406, allocations: 34.56 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.006407, allocations: 0 / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001397/0.006546, allocations: 69.95 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.006609, allocations: 140.5 kB / 277.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.006703, allocations: 152 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.006714, allocations: 25.7 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.006747, allocations: 88.12 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.006762, allocations: 7.938 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.006786, allocations: 13.72 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.006864, allocations: 314.8 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.006874, allocations: 8 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.006881, allocations: 0 / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/0.006903, allocations: 12.84 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006905, allocations: 4.062 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.648e-05/0.006951, allocations: 37.64 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.006963, allocations: 4 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.006969, allocations: 3.938 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.006981, allocations: 7.984 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.007035, allocations: 0 / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.007038, allocations: 0 / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.007052, allocations: 4 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.007057, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 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 5.585e-05/0.007113, allocations: 112.7 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.007161, allocations: 53.61 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.007185, allocations: 15.91 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.007189, allocations: 4 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.007191, allocations: 0 / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.007194, allocations: 0 / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.027e-05/0.007284, allocations: 93.77 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.007285, allocations: 0 / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.007322, allocations: 15.98 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.007325, allocations: 4.031 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.00733, allocations: 4 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.007332, allocations: 4 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.007334, allocations: 3.938 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.007412, allocations: 146.1 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.007443, allocations: 23.92 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.007453, allocations: 0 / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/0.007486, allocations: 4 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.007509, allocations: 3.938 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.007515, allocations: 7.984 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.67e-05/0.007542, allocations: 42.22 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007542, allocations: 0 / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000114/0.007656, allocations: 4 kB / 278.4 MB, free: 11.68 MB / 266.7 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 7.214e-05/0.007728, allocations: 80.36 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.476e-05/0.007783, allocations: 20.84 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.007786, allocations: 0 / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.007797, allocations: 12.8 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.008013, allocations: 45.67 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.008421, allocations: 221 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.873e-05/0.00846, allocations: 63.34 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.358e-05/0.008483, allocations: 0 / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.008571, allocations: 63.36 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of SimCode: time 1.243e-06/0.008572, allocations: 0 / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of Templates: time 0.002333/0.01091, allocations: 0.9646 MB / 279.9 MB, free: 10.18 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9751651771366596]