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.001383/0.001383, allocations: 119.6 kB / 18.41 MB, free: 4.688 MB / 14.72 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.002113/0.002113, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 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.525/1.525, allocations: 222.9 MB / 247 MB, free: 4.328 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001601/0.001601, allocations: 47.92 kB / 358.7 MB, free: 8.457 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1226, allocations: 49.44 MB / 408.1 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003111/0.1258, allocations: 1.611 MB / 409.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1268, allocations: 0.5141 MB / 410.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.997e-05/0.1269, allocations: 4 kB / 410.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.467e-05/0.127, allocations: 11.86 kB / 410.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.1272, allocations: 15.86 kB / 410.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.1275, allocations: 51.81 kB / 410.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1276, allocations: 51.86 kB / 410.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1278, allocations: 27.91 kB / 410.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.1278, allocations: 35.84 kB / 410.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.1279, allocations: 19.86 kB / 410.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1279, allocations: 4 kB / 410.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.128, allocations: 4 kB / 410.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.128, allocations: 15.92 kB / 410.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.1281, allocations: 31.75 kB / 410.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1282, allocations: 71.66 kB / 410.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1282, allocations: 0 / 410.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1282, allocations: 0 / 410.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1283, allocations: 0 / 410.6 MB, free: 4.5 MB / 334.1 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.0005513/0.1288, allocations: 398.9 kB / 411 MB, free: 4.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1289, allocations: 11.89 kB / 411 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.1289, allocations: 12.89 kB / 411 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.1293, allocations: 214.6 kB / 411.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1293, allocations: 384 / 411.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1293, allocations: 4.375 kB / 411.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.1296, allocations: 147 kB / 411.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1297, allocations: 3.938 kB / 411.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1297, allocations: 0 / 411.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1297, allocations: 4 kB / 411.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1298, allocations: 31.91 kB / 411.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.1302, allocations: 283.4 kB / 411.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1304, allocations: 98.36 kB / 411.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.963e-05/0.1305, allocations: 47.48 kB / 411.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.1305, allocations: 7.922 kB / 411.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1306, allocations: 38.56 kB / 411.8 MB, free: 3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1306, allocations: 0 / 411.8 MB, free: 3 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003191/0.1309, allocations: 97.5 kB / 411.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.131, allocations: 137 kB / 412.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1312, allocations: 157.3 kB / 412.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1312, allocations: 25.7 kB / 412.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.1313, allocations: 96.12 kB / 412.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1313, allocations: 3.953 kB / 412.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.1313, allocations: 21.72 kB / 412.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1315, allocations: 322.8 kB / 412.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.1316, allocations: 11.98 kB / 412.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.1316, allocations: 49.14 kB / 412.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1318, allocations: 65.2 kB / 412.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1318, allocations: 8 kB / 412.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000166/0.132, allocations: 81.5 kB / 412.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.132, allocations: 8 kB / 412.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.132, allocations: 0 / 412.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.132, allocations: 4.188 kB / 412.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.1321, allocations: 15.94 kB / 412.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1321, allocations: 4 kB / 412.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.1322, allocations: 7.984 kB / 412.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1322, allocations: 4 kB / 412.9 MB, free: 1.789 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.000104/0.1323, allocations: 121.8 kB / 413.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1324, allocations: 69.53 kB / 413.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.1325, allocations: 15.86 kB / 413.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1325, allocations: 4.094 kB / 413.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1325, allocations: 4 kB / 413.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1325, allocations: 0 / 413.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1327, allocations: 177.6 kB / 413.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1327, allocations: 0 / 413.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/0.1328, allocations: 15.94 kB / 413.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1328, allocations: 0 / 413.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1329, allocations: 11.98 kB / 413.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1329, allocations: 0 / 413.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1329, allocations: 7.875 kB / 413.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1331, allocations: 197.9 kB / 413.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.1332, allocations: 101 kB / 413.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1332, allocations: 3.984 kB / 413.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.1333, allocations: 8 kB / 413.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.1334, allocations: 4 kB / 413.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1334, allocations: 7.984 kB / 413.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.738e-05/0.1335, allocations: 107.3 kB / 413.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1335, allocations: 0 / 413.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1337, allocations: 15.98 kB / 413.8 MB, free: 0.8203 MB / 334.1 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.0001157/0.1338, allocations: 99.19 kB / 413.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.134, allocations: 44.11 kB / 413.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.134, allocations: 0 / 413.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.49e-05/0.1341, allocations: 15.92 kB / 414 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.1345, allocations: 44.03 kB / 414 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.135, allocations: 243.7 kB / 414.2 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1354, allocations: 0.6961 MB / 414.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.1354, allocations: 15.42 kB / 414.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1354, allocations: 0 / 414.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of Templates: time 0.002949/0.1384, allocations: 1.013 MB / 416 MB, free: 14.59 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.129050654009916]