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.002338/0.002338, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002031/0.002031, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.618/1.618, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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 1.743e-06/1.743e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.884e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003149/0.003178, allocations: 1.633 MB / 273.8 MB, free: 148 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.00437, allocations: 0.5646 MB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/0.004453, allocations: 7.938 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.898e-05/0.004512, allocations: 7.922 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.004646, allocations: 23.8 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.004956, allocations: 63.69 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.005095, allocations: 63.72 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.0052, allocations: 16.2 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.005351, allocations: 43.91 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.005413, allocations: 19.91 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.005432, allocations: 7.938 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.005476, allocations: 8 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.005523, allocations: 15.94 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.005562, allocations: 27.91 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.005723, allocations: 67.72 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.005726, allocations: 0 / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.005726, allocations: 0 / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.005731, allocations: 0 / 274.8 MB, free: 15.2 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.0005731/0.006304, allocations: 415.8 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.006343, allocations: 11.98 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.006508, allocations: 28.83 kB / 275.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.006765, allocations: 164.4 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.006774, allocations: 384 / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.006788, allocations: 4.375 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.007124, allocations: 156.2 kB / 275.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.007138, allocations: 16.06 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.007147, allocations: 384 / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.007154, allocations: 3.938 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.007236, allocations: 23.98 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.007819, allocations: 306.8 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.008017, allocations: 124.4 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.008112, allocations: 54.8 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.008136, allocations: 4 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.008173, allocations: 41.27 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.008174, allocations: 0 / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000298/0.008472, allocations: 105.5 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.008581, allocations: 136.5 kB / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.008785, allocations: 216.1 kB / 276.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.008807, allocations: 29.7 kB / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.00891, allocations: 146.8 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.008931, allocations: 3.953 kB / 276.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.00897, allocations: 15.38 kB / 276.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002631/0.009233, allocations: 0.4928 MB / 277.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.009266, allocations: 8 kB / 277.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.00929, allocations: 7.938 kB / 277.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.231e-05/0.009352, allocations: 23.67 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.009354, allocations: 0 / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001078/0.009462, allocations: 53.58 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.009478, allocations: 4 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.009482, allocations: 0 / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.009493, allocations: 0 / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.009546, allocations: 4.094 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.00955, allocations: 4 kB / 277.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.00958, allocations: 4 kB / 277.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.009588, allocations: 3.984 kB / 277.3 MB, free: 12.32 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 0.0001215/0.009709, allocations: 164.5 kB / 277.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.009823, allocations: 69.52 kB / 277.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.009867, allocations: 11.97 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.009872, allocations: 4 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.009875, allocations: 0 / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.009879, allocations: 8.031 kB / 277.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.01008, allocations: 140.6 kB / 277.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01008, allocations: 0 / 277.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.01014, allocations: 15.98 kB / 277.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01015, allocations: 0 / 277.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.01016, allocations: 7.938 kB / 277.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01016, allocations: 0 / 277.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01016, allocations: 0 / 277.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.01044, allocations: 258.9 kB / 278 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.01049, allocations: 15.95 kB / 278 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.01051, allocations: 15.92 kB / 278 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.517e-05/0.01058, allocations: 0 / 278 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.01062, allocations: 8 kB / 278 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.01062, allocations: 0 / 278 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.01074, allocations: 156.8 kB / 278.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01074, allocations: 0 / 278.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.01095, allocations: 8 kB / 278.2 MB, free: 11.38 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 0.0001274/0.01108, allocations: 99.25 kB / 278.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01122, allocations: 35.61 kB / 278.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01122, allocations: 0 / 278.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.477e-05/0.01127, allocations: 15.69 kB / 278.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.01165, allocations: 41.36 kB / 278.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.01209, allocations: 224.2 kB / 278.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01219, allocations: 92.27 kB / 278.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.941e-05/0.01222, allocations: 4 kB / 278.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.01225, allocations: 12.5 kB / 278.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01225, allocations: 0 / 278.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of Templates: time 0.003793/0.01604, allocations: 0.9061 MB / 279.6 MB, free: 9.898 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","/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.544291854952462]