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.001235/0.001235, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001312/0.001312, allocations: 147.7 kB / 24.98 MB, free: 8.312 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 1.023/1.023, allocations: 173.4 MB / 201.5 MB, free: 9.352 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.402e-06/1.402e-06, allocations: 0 / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.701e-05, allocations: 2.312 kB / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002038/0.002055, allocations: 1.651 MB / 269.7 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.002836, allocations: 0.4984 MB / 270.2 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.002929, allocations: 7.938 kB / 270.2 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.835e-05/0.002978, allocations: 3.938 kB / 270.2 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.003118, allocations: 19.8 kB / 270.3 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.003379, allocations: 59.69 kB / 270.3 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.003505, allocations: 63.78 kB / 270.4 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.003621, allocations: 8 kB / 270.4 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.003731, allocations: 39.89 kB / 270.4 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.003786, allocations: 15.92 kB / 270.4 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.003811, allocations: 4 kB / 270.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.003823, allocations: 4 kB / 270.5 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.003877, allocations: 19.91 kB / 270.5 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.003908, allocations: 19.92 kB / 270.5 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.004021, allocations: 47.77 kB / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004023, allocations: 0 / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004024, allocations: 4 kB / 270.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004028, allocations: 0 / 270.5 MB, free: 4.262 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.0004057/0.004434, allocations: 416.1 kB / 270.9 MB, free: 3.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.004471, allocations: 12.03 kB / 271 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.004509, allocations: 8.891 kB / 271 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.004701, allocations: 168.2 kB / 271.1 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.00471, allocations: 4.375 kB / 271.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.004721, allocations: 4.375 kB / 271.1 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.004978, allocations: 160.9 kB / 271.3 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004985, allocations: 4.172 kB / 271.3 MB, free: 3.406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.004994, allocations: 4.312 kB / 271.3 MB, free: 3.402 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.005003, allocations: 3.938 kB / 271.3 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.893e-05/0.005032, allocations: 15.92 kB / 271.3 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.005286, allocations: 294.9 kB / 271.6 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.59e-05/0.005372, allocations: 124.4 kB / 271.7 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.005414, allocations: 46.73 kB / 271.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.005432, allocations: 0 / 271.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.005456, allocations: 45.33 kB / 271.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.005457, allocations: 0 / 271.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001887/0.005646, allocations: 77.5 kB / 271.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.005705, allocations: 141 kB / 272 MB, free: 2.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.006094, allocations: 208.3 kB / 272.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.006104, allocations: 29.7 kB / 272.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.006151, allocations: 134.8 kB / 272.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.006163, allocations: 4 kB / 272.4 MB, free: 2.113 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.006187, allocations: 19.38 kB / 272.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.006307, allocations: 0.4884 MB / 272.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.00632, allocations: 4 kB / 272.9 MB, free: 1.582 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.006326, allocations: 0 / 272.9 MB, free: 1.582 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.00635, allocations: 11.69 kB / 272.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.006352, allocations: 0 / 272.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.036e-05/0.006402, allocations: 53.58 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.006415, allocations: 4 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.006419, allocations: 0 / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.006429, allocations: 0 / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.00649, allocations: 4 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.006495, allocations: 0 / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.006511, allocations: 0 / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.006517, allocations: 4 kB / 273 MB, free: 1.496 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 7.328e-05/0.00659, allocations: 160.6 kB / 273.1 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.00665, allocations: 65.56 kB / 273.2 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.00668, allocations: 15.95 kB / 273.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.006683, allocations: 4 kB / 273.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.006686, allocations: 0 / 273.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.006691, allocations: 4 kB / 273.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.0068, allocations: 140.5 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006801, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.006842, allocations: 12 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.006845, allocations: 3.938 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.006854, allocations: 11.92 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.006856, allocations: 4.094 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006857, allocations: 0 / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.006981, allocations: 239 kB / 273.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.00701, allocations: 19.88 kB / 273.7 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.007023, allocations: 7.938 kB / 273.7 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.007061, allocations: 4 kB / 273.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.007093, allocations: 3.938 kB / 273.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.007098, allocations: 4 kB / 273.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.007154, allocations: 154.2 kB / 273.8 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007154, allocations: 0 / 273.8 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.007299, allocations: 8 kB / 273.8 MB, free: 0.5664 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 6.385e-05/0.007363, allocations: 95.25 kB / 273.9 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.109e-05/0.007444, allocations: 23.67 kB / 274 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007446, allocations: 3.938 kB / 274 MB, free: 444 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.766e-05/0.007463, allocations: 11.69 kB / 274 MB, free: 428 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.007751, allocations: 33.38 kB / 274 MB, free: 392 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.008242, allocations: 223.7 kB / 274.2 MB, free: 128 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.008282, allocations: 67.34 kB / 274.3 MB, free: 40 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.33e-05/0.008305, allocations: 0 / 274.3 MB, free: 40 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.008333, allocations: 16.48 kB / 274.3 MB, free: 24 kB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008334, allocations: 0 / 274.3 MB, free: 24 kB / 250.7 MB Notification: Performance of Templates: time 0.002562/0.0109, allocations: 0.9098 MB / 275.2 MB, free: 15.14 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.7910358540248126]