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.001888/0.001888, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002181/0.002181, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.637/1.637, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002131/0.002131, allocations: 63.89 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3283, allocations: 53.4 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003969/0.3322, allocations: 1.629 MB / 433.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3338, allocations: 0.5415 MB / 433.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.3339, allocations: 7.938 kB / 433.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.623e-05/0.334, allocations: 7.875 kB / 433.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.3342, allocations: 19.86 kB / 433.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.3347, allocations: 67.73 kB / 433.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3348, allocations: 55.8 kB / 434 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.335, allocations: 12.22 kB / 434 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.3352, allocations: 39.78 kB / 434 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.186e-05/0.3353, allocations: 27.86 kB / 434 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3353, allocations: 4 kB / 434 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.014e-05/0.3353, allocations: 4 kB / 434 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.3354, allocations: 19.92 kB / 434.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.3354, allocations: 23.81 kB / 434.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.3357, allocations: 73.89 kB / 434.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.3357, allocations: 4 kB / 434.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3357, allocations: 0 / 434.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3357, allocations: 0 / 434.2 MB, free: 3.98 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.000672/0.3364, allocations: 321.8 kB / 434.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3364, allocations: 19.98 kB / 434.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.3366, allocations: 20.83 kB / 434.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.337, allocations: 153.4 kB / 434.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.337, allocations: 4.375 kB / 434.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.337, allocations: 4.375 kB / 434.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.3374, allocations: 147 kB / 434.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3374, allocations: 0 / 434.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3374, allocations: 0 / 434.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3374, allocations: 4 kB / 434.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3375, allocations: 27.92 kB / 434.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.338, allocations: 227.1 kB / 435.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.3382, allocations: 94.36 kB / 435.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.344e-05/0.3383, allocations: 51.42 kB / 435.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.3383, allocations: 4 kB / 435.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3383, allocations: 30.56 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3383, allocations: 3.938 kB / 435.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003496/0.3387, allocations: 109.5 kB / 435.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.3388, allocations: 129 kB / 435.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.339, allocations: 154.2 kB / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.339, allocations: 29.64 kB / 435.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.3391, allocations: 96.12 kB / 435.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.3391, allocations: 7.938 kB / 435.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.3392, allocations: 25.66 kB / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3393, allocations: 318.8 kB / 436.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.3394, allocations: 12 kB / 436.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.284e-05/0.3395, allocations: 49.14 kB / 436.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3396, allocations: 65.08 kB / 436.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.3396, allocations: 3.938 kB / 436.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000179/0.3398, allocations: 85.5 kB / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.3398, allocations: 10.84 kB / 436.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3398, allocations: 4 kB / 436.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.3399, allocations: 4 kB / 436.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.34, allocations: 15.92 kB / 436.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.34, allocations: 4 kB / 436.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.34, allocations: 0 / 436.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.34, allocations: 4 kB / 436.4 MB, free: 1.504 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.0001235/0.3402, allocations: 129.7 kB / 436.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.3403, allocations: 69.53 kB / 436.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.3403, allocations: 20.02 kB / 436.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3403, allocations: 0 / 436.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3403, allocations: 4 kB / 436.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3403, allocations: 3.984 kB / 436.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3405, allocations: 125.2 kB / 436.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3405, allocations: 0 / 436.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.3406, allocations: 19.92 kB / 436.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3406, allocations: 0 / 436.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3406, allocations: 4.125 kB / 436.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3406, allocations: 4 kB / 436.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3406, allocations: 0 / 436.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3409, allocations: 202 kB / 436.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.341, allocations: 23.94 kB / 437 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.341, allocations: 3.938 kB / 437 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.3411, allocations: 8 kB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.3411, allocations: 7.922 kB / 437 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.3411, allocations: 4 kB / 437 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3412, allocations: 115.9 kB / 437.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3412, allocations: 0 / 437.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3415, allocations: 12 kB / 437.1 MB, free: 0.6875 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.0001456/0.3416, allocations: 95.25 kB / 437.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3418, allocations: 47.91 kB / 437.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3418, allocations: 0 / 437.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.3419, allocations: 7.938 kB / 437.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.3423, allocations: 47.27 kB / 437.3 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.3429, allocations: 221.8 kB / 437.5 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.343, allocations: 83.31 kB / 437.6 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.278e-05/0.343, allocations: 4.672 kB / 437.6 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.3431, allocations: 11.44 kB / 437.6 MB, free: 124 kB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3431, allocations: 0 / 437.6 MB, free: 124 kB / 334.1 MB Notification: Performance of Templates: time 0.004336/0.3474, allocations: 0.9779 MB / 438.6 MB, free: 15.17 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.778618585318327]