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.0009639/0.0009639, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001134/0.001134, allocations: 162.2 kB / 24.99 MB, free: 8.801 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 0.988/0.988, allocations: 177 MB / 205.2 MB, free: 5.602 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 1.342e-06/1.342e-06, allocations: 0 / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.773e-05, allocations: 2.312 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002171/0.002189, allocations: 1.684 MB / 274.7 MB, free: 64 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007929/0.002982, allocations: 0.5569 MB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.003071, allocations: 11.94 kB / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.625e-05/0.003118, allocations: 7.875 kB / 275.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.003263, allocations: 15.86 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.003534, allocations: 63.69 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.003637, allocations: 59.78 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.003734, allocations: 16.22 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.003858, allocations: 55.77 kB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.003903, allocations: 11.98 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.003918, allocations: 0 / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.502e-05/0.003953, allocations: 16 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.003995, allocations: 19.91 kB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.004018, allocations: 15.94 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.004139, allocations: 55.69 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004142, allocations: 0 / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004142, allocations: 4 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004147, allocations: 0 / 275.6 MB, free: 15.15 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.0003889/0.004535, allocations: 416.1 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.004571, allocations: 11.98 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.004695, allocations: 24.83 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.00487, allocations: 164.4 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.004879, allocations: 384 / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.004888, allocations: 4.375 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.005133, allocations: 156.9 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.005138, allocations: 192 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.005149, allocations: 4.359 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.005161, allocations: 11.94 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.00519, allocations: 15.92 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.005467, allocations: 294.8 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/0.005566, allocations: 120.2 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.005609, allocations: 46.86 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.005629, allocations: 4 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.005651, allocations: 37.33 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.005651, allocations: 8 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001763/0.005828, allocations: 77.52 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.005889, allocations: 140.4 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.006001, allocations: 199.3 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.006013, allocations: 29.7 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.006065, allocations: 138.9 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.006078, allocations: 3.953 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.006103, allocations: 23.81 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.006218, allocations: 0.4962 MB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.00623, allocations: 0 / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.006236, allocations: 0 / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/0.006259, allocations: 11.69 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006261, allocations: 0 / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.81e-05/0.006309, allocations: 53.52 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.00632, allocations: 7.125 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.006323, allocations: 0 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006335, allocations: 0 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.006385, allocations: 8.094 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.006389, allocations: 0 / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.006406, allocations: 0 / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.006411, allocations: 0 / 278.1 MB, free: 12.37 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 6.458e-05/0.006475, allocations: 156.6 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.006532, allocations: 69.52 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.006563, allocations: 15.95 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006565, allocations: 0 / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.00657, allocations: 4 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.006574, allocations: 4.094 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.006679, allocations: 132.6 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.00668, allocations: 0 / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.006715, allocations: 16 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006716, allocations: 0 / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.006727, allocations: 11.92 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.006729, allocations: 3.938 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00673, allocations: 0 / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.006849, allocations: 238.9 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.006879, allocations: 23.92 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.006891, allocations: 7.938 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.361e-05/0.006924, allocations: 4 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.006952, allocations: 4 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.006955, allocations: 4 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.582e-05/0.007011, allocations: 152.7 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.007011, allocations: 0 / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000135/0.007146, allocations: 8 kB / 278.9 MB, free: 11.45 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 6.704e-05/0.007213, allocations: 103.1 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.235e-05/0.007286, allocations: 19.67 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007287, allocations: 4.062 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-05/0.007302, allocations: 19.62 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.007571, allocations: 34.11 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.008029, allocations: 216.3 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.00807, allocations: 63.34 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.113e-05/0.008091, allocations: 8.328 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.008116, allocations: 16.5 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.008117, allocations: 0 / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of Templates: time 0.002468/0.01059, allocations: 0.9127 MB / 280.3 MB, free: 10 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 -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.7187533339019865]