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.001464/0.001464, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001409/0.001409, allocations: 145.4 kB / 24.89 MB, free: 9.211 MB / 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.8938/0.8938, allocations: 173.4 MB / 201.5 MB, free: 9.191 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 1.663e-06/1.663e-06, allocations: 0 / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.2e-05, allocations: 2.312 kB / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002756/0.002778, allocations: 1.658 MB / 270.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.003701, allocations: 0.5062 MB / 270.6 MB, free: 4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.003783, allocations: 11.94 kB / 270.7 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.11e-05/0.003834, allocations: 7.875 kB / 270.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.003973, allocations: 15.84 kB / 270.7 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.004227, allocations: 55.7 kB / 270.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.004342, allocations: 59.78 kB / 270.8 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.004424, allocations: 11.98 kB / 270.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.004539, allocations: 35.91 kB / 270.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.0046, allocations: 23.91 kB / 270.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.004624, allocations: 4 kB / 270.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.004636, allocations: 4 kB / 270.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.004681, allocations: 19.92 kB / 270.9 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.004708, allocations: 11.94 kB / 270.9 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.004824, allocations: 55.69 kB / 271 MB, free: 3.688 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004826, allocations: 0 / 271 MB, free: 3.688 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004827, allocations: 3.938 kB / 271 MB, free: 3.684 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.00483, allocations: 0 / 271 MB, free: 3.684 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.0003562/0.005186, allocations: 288.6 kB / 271.2 MB, free: 3.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.005219, allocations: 8.031 kB / 271.2 MB, free: 3.371 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.005255, allocations: 8.922 kB / 271.3 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.005444, allocations: 157.5 kB / 271.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.005456, allocations: 12.25 kB / 271.4 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.005468, allocations: 384 / 271.4 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.005688, allocations: 136 kB / 271.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.005696, allocations: 4.188 kB / 271.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.005703, allocations: 384 / 271.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.00571, allocations: 3.938 kB / 271.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.859e-05/0.005738, allocations: 15.94 kB / 271.6 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.005946, allocations: 174.8 kB / 271.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.007e-05/0.006036, allocations: 78.42 kB / 271.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.006072, allocations: 35.48 kB / 271.9 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.006088, allocations: 0 / 271.9 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.006114, allocations: 38.5 kB / 271.9 MB, free: 2.586 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.006115, allocations: 4 kB / 271.9 MB, free: 2.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001609/0.006276, allocations: 73.48 kB / 272 MB, free: 2.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.006342, allocations: 132.5 kB / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.006446, allocations: 149.7 kB / 272.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.006458, allocations: 25.7 kB / 272.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.006495, allocations: 84.14 kB / 272.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.006507, allocations: 0 / 272.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.006539, allocations: 22.16 kB / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.006629, allocations: 314.8 kB / 272.7 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.006641, allocations: 4 kB / 272.7 MB, free: 1.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-06/0.006648, allocations: 4 kB / 272.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.006677, allocations: 16.78 kB / 272.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.006679, allocations: 4 kB / 272.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.051e-05/0.00674, allocations: 29.7 kB / 272.7 MB, free: 1.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.006754, allocations: 4 kB / 272.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.00676, allocations: 3.938 kB / 272.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.006775, allocations: 4 kB / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/0.00684, allocations: 4.078 kB / 272.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.006843, allocations: 4 kB / 272.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.006867, allocations: 4 kB / 272.8 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.006873, allocations: 0 / 272.8 MB, free: 1.637 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 6.686e-05/0.00694, allocations: 108.7 kB / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.007018, allocations: 53.61 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.007053, allocations: 23.83 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.007056, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007059, allocations: 8 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007062, allocations: 96 / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.007196, allocations: 93.8 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007198, allocations: 0 / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.00726, allocations: 11.98 kB / 273.1 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.007265, allocations: 4 kB / 273.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.00727, allocations: 0 / 273.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.007272, allocations: 0 / 273.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.007276, allocations: 7.938 kB / 273.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.007382, allocations: 146.1 kB / 273.2 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.007424, allocations: 23.88 kB / 273.2 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.007439, allocations: 8.031 kB / 273.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.007509, allocations: 0 / 273.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.007536, allocations: 7.938 kB / 273.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.007541, allocations: 0 / 273.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.377e-05/0.007585, allocations: 36.81 kB / 273.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007585, allocations: 0 / 273.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.007797, allocations: 8 kB / 273.3 MB, free: 1.039 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 8.218e-05/0.007879, allocations: 76.42 kB / 273.4 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.184e-05/0.007951, allocations: 20.8 kB / 273.4 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.007954, allocations: 4.062 kB / 273.4 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.33e-05/0.007967, allocations: 4.859 kB / 273.4 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.008265, allocations: 44.39 kB / 273.4 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.008763, allocations: 208 kB / 273.6 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.008814, allocations: 67.33 kB / 273.7 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.924e-05/0.008843, allocations: 8.344 kB / 273.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.008914, allocations: 59.36 kB / 273.8 MB, free: 500 kB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008915, allocations: 4 kB / 273.8 MB, free: 496 kB / 250.7 MB Notification: Performance of Templates: time 0.002184/0.0111, allocations: 0.9654 MB / 274.7 MB, free: 15.55 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: 2.4322832338511944]