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.000968/0.000968, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001118/0.001118, allocations: 164.4 kB / 24.82 MB, free: 9.324 MB / 18.57 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.9827/0.9827, allocations: 177 MB / 205.1 MB, free: 5.449 MB / 186.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.282e-06/1.282e-06, allocations: 0 / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.156e-05, allocations: 5.266 kB / 273.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002158/0.00218, allocations: 1.665 MB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.002954, allocations: 0.5646 MB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.634e-05/0.00303, allocations: 7.938 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.003069, allocations: 7.922 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.003181, allocations: 11.88 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.003423, allocations: 71.61 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.305e-05/0.003516, allocations: 59.78 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.421e-05/0.00359, allocations: 12.22 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003703, allocations: 55.89 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.153e-05/0.003745, allocations: 11.92 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.003758, allocations: 4 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.62e-05/0.003794, allocations: 12 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.003828, allocations: 19.91 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.003849, allocations: 15.94 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.003954, allocations: 55.64 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.003956, allocations: 0 / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003956, allocations: 0 / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.384e-06/0.003959, allocations: 4 kB / 275.9 MB, free: 14.59 MB / 266.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.0004471/0.004406, allocations: 420.2 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.004439, allocations: 11.98 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.00454, allocations: 24.83 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.004689, allocations: 164.3 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.004698, allocations: 4.375 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.004706, allocations: 4.375 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.004881, allocations: 149 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004889, allocations: 4.188 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.004895, allocations: 4.375 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.004901, allocations: 3.938 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.004923, allocations: 15.92 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.005122, allocations: 271.3 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.67e-05/0.005199, allocations: 116.3 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.005233, allocations: 50.84 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.00525, allocations: 4 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.00527, allocations: 41.33 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.005271, allocations: 4 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000154/0.005425, allocations: 73.45 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.005479, allocations: 133 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.005579, allocations: 207.3 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.005589, allocations: 25.7 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.005638, allocations: 142.8 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.005652, allocations: 7.953 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.00568, allocations: 15.38 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.005793, allocations: 0.4923 MB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-06/0.005799, allocations: 0 / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.005806, allocations: 0 / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.005827, allocations: 15.62 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.005829, allocations: 0 / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.569e-05/0.005874, allocations: 41.72 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.005887, allocations: 18.98 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.00589, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.0059, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.44e-05/0.005945, allocations: 4 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.005947, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.005963, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.005969, allocations: 4 kB / 278.3 MB, free: 11.85 MB / 266.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.017e-05/0.006029, allocations: 156.6 kB / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.006094, allocations: 65.61 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.006122, allocations: 23.83 kB / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.006124, allocations: 0 / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.006127, allocations: 4 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.006129, allocations: 0 / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.006254, allocations: 109.2 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.006256, allocations: 4 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.006292, allocations: 11.98 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.006294, allocations: 0 / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.006299, allocations: 4 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.0063, allocations: 4.094 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.006304, allocations: 7.938 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.766e-05/0.006401, allocations: 226.8 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.006429, allocations: 11.95 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.006441, allocations: 4 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.321e-05/0.006495, allocations: 3.984 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.006514, allocations: 7.938 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.006517, allocations: 0 / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.454e-05/0.006572, allocations: 152.8 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006572, allocations: 0 / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.006774, allocations: 12.03 kB / 279.1 MB, free: 10.99 MB / 266.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.072e-05/0.006835, allocations: 95.19 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.784e-05/0.006892, allocations: 27.61 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.006893, allocations: 0 / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.006906, allocations: 11.69 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.007205, allocations: 36.64 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.007615, allocations: 224.8 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.007654, allocations: 63.34 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.256e-05/0.007677, allocations: 7.922 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.007741, allocations: 82.19 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007741, allocations: 0 / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of Templates: time 0.002445/0.01019, allocations: 0.9933 MB / 280.7 MB, free: 9.395 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6080713919363916]