Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9874/0.9874, allocations: 173.3 MB / 201.1 MB, free: 9.355 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 3.938 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.881e-05, allocations: 2.312 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003134/0.003172, allocations: 1.654 MB / 269.7 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.004078, allocations: 0.5023 MB / 270.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.004212, allocations: 7.938 kB / 270.2 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.088e-05/0.004273, allocations: 7.875 kB / 270.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.004444, allocations: 19.84 kB / 270.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.004777, allocations: 55.7 kB / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.004886, allocations: 55.78 kB / 270.3 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.005017, allocations: 19.97 kB / 270.3 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.005128, allocations: 31.91 kB / 270.4 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.005201, allocations: 23.91 kB / 270.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.005225, allocations: 4 kB / 270.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.005238, allocations: 8 kB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.005293, allocations: 11.94 kB / 270.4 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.00533, allocations: 19.92 kB / 270.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.0055, allocations: 51.75 kB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.005504, allocations: 7.875 kB / 270.5 MB, free: 3.953 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.005506, allocations: 0 / 270.5 MB, free: 3.953 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.005511, allocations: 0 / 270.5 MB, free: 3.953 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.0005667/0.006078, allocations: 408.2 kB / 270.9 MB, free: 3.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.00612, allocations: 12.02 kB / 270.9 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.006167, allocations: 12.89 kB / 270.9 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.006393, allocations: 168.2 kB / 271.1 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.006405, allocations: 4.375 kB / 271.1 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.006421, allocations: 384 / 271.1 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.006735, allocations: 156.9 kB / 271.2 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.006746, allocations: 192 / 271.2 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.006759, allocations: 4.375 kB / 271.2 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.00677, allocations: 7.938 kB / 271.2 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.006801, allocations: 11.94 kB / 271.2 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.007162, allocations: 298.9 kB / 271.5 MB, free: 2.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.007276, allocations: 116.2 kB / 271.7 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.00733, allocations: 46.86 kB / 271.7 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.007357, allocations: 7.984 kB / 271.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.007387, allocations: 41.33 kB / 271.7 MB, free: 2.465 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.007388, allocations: 4 kB / 271.8 MB, free: 2.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001989/0.007587, allocations: 81.5 kB / 271.8 MB, free: 2.375 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.007658, allocations: 136.5 kB / 272 MB, free: 2.211 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.007774, allocations: 204.3 kB / 272.2 MB, free: 1.996 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.007788, allocations: 25.7 kB / 272.2 MB, free: 1.965 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.007841, allocations: 142.8 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.007855, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.007886, allocations: 23.86 kB / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.008013, allocations: 0.4884 MB / 272.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.008024, allocations: 4 kB / 272.8 MB, free: 1.285 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-06/0.008032, allocations: 0 / 272.8 MB, free: 1.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.008058, allocations: 11.69 kB / 272.9 MB, free: 1.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.008061, allocations: 0 / 272.9 MB, free: 1.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.618e-05/0.008107, allocations: 45.52 kB / 272.9 MB, free: 1.219 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.008122, allocations: 8 kB / 272.9 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.008127, allocations: 0 / 272.9 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.008144, allocations: 0 / 272.9 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.00821, allocations: 8.094 kB / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.008217, allocations: 0 / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.008233, allocations: 0 / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.00824, allocations: 3.984 kB / 272.9 MB, free: 1.199 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 8.857e-05/0.008329, allocations: 160.6 kB / 273.1 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.008391, allocations: 69.45 kB / 273.1 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.008427, allocations: 11.97 kB / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.008429, allocations: 0 / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.008433, allocations: 0 / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.008438, allocations: 8.094 kB / 273.2 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.00856, allocations: 140.6 kB / 273.3 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.008562, allocations: 0 / 273.3 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.008599, allocations: 15.92 kB / 273.3 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.008601, allocations: 4 kB / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.008609, allocations: 7.938 kB / 273.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.008611, allocations: 4 kB / 273.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008612, allocations: 0 / 273.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.008761, allocations: 235 kB / 273.6 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.008791, allocations: 23.86 kB / 273.6 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.008807, allocations: 11.94 kB / 273.6 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.008843, allocations: 3.938 kB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.008885, allocations: 7.984 kB / 273.6 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.008888, allocations: 0 / 273.6 MB, free: 432 kB / 250.7 MB Notification: Performance of sorting global known variables: time 7.135e-05/0.00896, allocations: 150.2 kB / 273.8 MB, free: 284 kB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00896, allocations: 0 / 273.8 MB, free: 284 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.009111, allocations: 8 kB / 273.8 MB, free: 276 kB / 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 0.0001175/0.009229, allocations: 99.23 kB / 273.9 MB, free: 168 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.009336, allocations: 23.62 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009337, allocations: 4.062 kB / 273.9 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.009354, allocations: 7.688 kB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.009668, allocations: 45.3 kB / 273.9 MB, free: 76 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.01029, allocations: 215.3 kB / 274.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.01035, allocations: 63.34 kB / 274.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.147e-05/0.01039, allocations: 12.33 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.01043, allocations: 12.5 kB / 274.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01043, allocations: 0 / 274.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of Templates: time 0.00326/0.01369, allocations: 0.8986 MB / 275.1 MB, free: 14.84 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.0652249231934547]