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.0008106/0.0008106, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004146/0.004146, allocations: 154.1 kB / 24.69 MB, free: 8.918 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.9003/0.9003, allocations: 177 MB / 204.9 MB, free: 5.75 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.034e-06/2.034e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.979e-05, allocations: 3.547 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002362/0.002392, allocations: 1.63 MB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008526/0.003245, allocations: 0.5491 MB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.003343, allocations: 3.938 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.017e-05/0.003393, allocations: 3.938 kB / 328 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.00356, allocations: 19.8 kB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.003903, allocations: 70.73 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.004022, allocations: 59.73 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004138, allocations: 20.2 kB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.004278, allocations: 35.91 kB / 328.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.004342, allocations: 27.84 kB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.004363, allocations: 4 kB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/0.0044, allocations: 4 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.004457, allocations: 15.92 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.004484, allocations: 15.94 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.004675, allocations: 75.7 kB / 328.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.00468, allocations: 0 / 328.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.004682, allocations: 4 kB / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.004687, allocations: 3.938 kB / 328.3 MB, free: 12.82 MB / 298.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.0004823/0.00517, allocations: 309.9 kB / 328.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.005225, allocations: 15.98 kB / 328.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.005394, allocations: 20.83 kB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.005711, allocations: 150.4 kB / 328.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.005722, allocations: 8.312 kB / 328.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.005735, allocations: 12.36 kB / 328.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.00602, allocations: 135.3 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006028, allocations: 192 / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.006042, allocations: 8.375 kB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.006049, allocations: 3.938 kB / 329 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.521e-05/0.006104, allocations: 31.92 kB / 329 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.006433, allocations: 235 kB / 329.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.006547, allocations: 94.42 kB / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.006599, allocations: 39.48 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.006626, allocations: 4 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.006657, allocations: 50.38 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.006659, allocations: 4 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002467/0.006906, allocations: 101.8 kB / 329.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.006981, allocations: 132.5 kB / 329.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.007098, allocations: 154.2 kB / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.00711, allocations: 29.7 kB / 329.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.007157, allocations: 92.12 kB / 329.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.007177, allocations: 7.953 kB / 329.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.007206, allocations: 13.72 kB / 329.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.007305, allocations: 318.8 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.007336, allocations: 7.984 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.007353, allocations: 8.219 kB / 330.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.007397, allocations: 20.84 kB / 330.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0074, allocations: 3.938 kB / 330.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.374e-05/0.007474, allocations: 53.58 kB / 330.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.007489, allocations: 7.984 kB / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.007494, allocations: 0 / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.007508, allocations: 0 / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.007566, allocations: 8.094 kB / 330.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.007571, allocations: 0 / 330.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.007589, allocations: 4 kB / 330.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.007595, allocations: 0 / 330.4 MB, free: 10.52 MB / 298.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.904e-05/0.007664, allocations: 117.8 kB / 330.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.007729, allocations: 69.52 kB / 330.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.007761, allocations: 19.86 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.007765, allocations: 4 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.00777, allocations: 0 / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007773, allocations: 4.094 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.007879, allocations: 125.3 kB / 330.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.007881, allocations: 0 / 330.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.007923, allocations: 15.92 kB / 330.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.007926, allocations: 4 kB / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.007935, allocations: 7.938 kB / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007936, allocations: 0 / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.007939, allocations: 7.984 kB / 330.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.008076, allocations: 190 kB / 330.9 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.008113, allocations: 19.94 kB / 330.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.008127, allocations: 15.94 kB / 331 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.008166, allocations: 7.984 kB / 331 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.0082, allocations: 0 / 331 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.008206, allocations: 4 kB / 331 MB, free: 9.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.163e-05/0.008267, allocations: 119.1 kB / 331.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008267, allocations: 3.938 kB / 331.1 MB, free: 9.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.008412, allocations: 8 kB / 331.1 MB, free: 9.723 MB / 298.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 0.0001072/0.008519, allocations: 99.19 kB / 331.2 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.008624, allocations: 35.92 kB / 331.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.008625, allocations: 0 / 331.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.008647, allocations: 7.984 kB / 331.2 MB, free: 9.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.008981, allocations: 35.16 kB / 331.3 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.009356, allocations: 233.9 kB / 331.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.792e-05/0.009434, allocations: 91.72 kB / 331.6 MB, free: 9.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.009468, allocations: 16.48 kB / 331.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009469, allocations: 0 / 331.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of Templates: time 0.00228/0.01175, allocations: 0.9992 MB / 332.6 MB, free: 8.148 MB / 298.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=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/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_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: 4.050366782583296]