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.0007509/0.0007509, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001863, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007175/0.0007175, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001726, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9602/0.9602, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09433/1.055, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.503e-06/1.503e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.356e-05, allocations: 5.125 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002157/0.00218, allocations: 1.717 MB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006502/0.002831, allocations: 0.5801 MB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.00291, allocations: 11.94 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.002946, allocations: 3.938 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/0.003029, allocations: 11.86 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.003229, allocations: 63.7 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.003334, allocations: 67.7 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.206e-05/0.003416, allocations: 20.16 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.003544, allocations: 51.89 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.003595, allocations: 15.92 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.003611, allocations: 4 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.208e-05/0.003663, allocations: 11.94 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.003701, allocations: 15.94 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.00372, allocations: 15.94 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.003917, allocations: 51.77 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.003929, allocations: 0 / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00393, allocations: 0 / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.003939, allocations: 0 / 247.9 MB, free: 10.88 MB / 250.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.0003461/0.004285, allocations: 304.1 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.004314, allocations: 8.031 kB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.004451, allocations: 98.03 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.004614, allocations: 169.3 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.004622, allocations: 8.375 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.00463, allocations: 384 / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.004791, allocations: 132 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.004797, allocations: 8.125 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.004805, allocations: 4.375 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.00481, allocations: 7.938 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.004833, allocations: 11.98 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.005004, allocations: 166.9 kB / 248.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.005068, allocations: 78.48 kB / 248.8 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.005095, allocations: 35.42 kB / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.005111, allocations: 0 / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.005131, allocations: 38.5 kB / 248.9 MB, free: 9.656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.005132, allocations: 4 kB / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001187/0.005251, allocations: 73.48 kB / 249 MB, free: 9.574 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.005307, allocations: 132.5 kB / 249.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.00538, allocations: 147.8 kB / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.005389, allocations: 25.7 kB / 249.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.005418, allocations: 84.14 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.00543, allocations: 3.953 kB / 249.4 MB, free: 9.137 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.005453, allocations: 18.2 kB / 249.4 MB, free: 9.113 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.005518, allocations: 322.8 kB / 249.7 MB, free: 8.789 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-06/0.005525, allocations: 0 / 249.7 MB, free: 8.789 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-06/0.005533, allocations: 7.938 kB / 249.7 MB, free: 8.781 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.844e-05/0.005551, allocations: 8.859 kB / 249.7 MB, free: 8.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005553, allocations: 3.938 kB / 249.7 MB, free: 8.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.826e-05/0.005591, allocations: 33.69 kB / 249.8 MB, free: 8.727 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.005603, allocations: 8 kB / 249.8 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005608, allocations: 3.938 kB / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.005617, allocations: 0 / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.005674, allocations: 12.08 kB / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.005677, allocations: 0 / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.005691, allocations: 0 / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.005695, allocations: 0 / 249.8 MB, free: 8.703 MB / 250.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.437e-05/0.00575, allocations: 120.7 kB / 249.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.005793, allocations: 57.55 kB / 249.9 MB, free: 8.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.005821, allocations: 19.89 kB / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005822, allocations: 0 / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.005824, allocations: 0 / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.005828, allocations: 8.094 kB / 250 MB, free: 8.484 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.294e-05/0.005911, allocations: 81.77 kB / 250.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005912, allocations: 0 / 250.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.005952, allocations: 19.98 kB / 250.1 MB, free: 8.367 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.005977, allocations: 11.95 kB / 250.1 MB, free: 8.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.005979, allocations: 3.984 kB / 250.1 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.005985, allocations: 4 kB / 250.1 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.005988, allocations: 3.938 kB / 250.1 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005988, allocations: 0 / 250.1 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.991e-05/0.006058, allocations: 154.1 kB / 250.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.006069, allocations: 12.03 kB / 250.3 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.006102, allocations: 0 / 250.3 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.006124, allocations: 7.938 kB / 250.3 MB, free: 8.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.006127, allocations: 0 / 250.3 MB, free: 8.148 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.701e-05/0.006154, allocations: 34.23 kB / 250.3 MB, free: 8.113 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006154, allocations: 0 / 250.3 MB, free: 8.113 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001108/0.006265, allocations: 12 kB / 250.3 MB, free: 8.102 MB / 250.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.512e-05/0.00634, allocations: 76.42 kB / 250.4 MB, free: 8.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.583e-05/0.006396, allocations: 28.72 kB / 250.4 MB, free: 7.984 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.0064, allocations: 0 / 250.4 MB, free: 7.984 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.006414, allocations: 8.859 kB / 250.4 MB, free: 7.973 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.006681, allocations: 207.6 kB / 250.6 MB, free: 7.73 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.007338, allocations: 217 kB / 250.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.746e-05/0.007375, allocations: 63.91 kB / 250.9 MB, free: 7.398 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.291e-05/0.007398, allocations: 4 kB / 250.9 MB, free: 7.395 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.007461, allocations: 67.34 kB / 251 MB, free: 7.328 MB / 250.7 MB Notification: Performance of SimCode: time 7.91e-07/0.007461, allocations: 0 / 251 MB, free: 7.328 MB / 250.7 MB Notification: Performance of Templates: time 0.002475/0.009936, allocations: 0.9988 MB / 252 MB, free: 6.363 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.440885211341083]