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.0009949/0.0009949, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.00104/0.00104, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9659/0.9659, allocations: 177 MB / 205.2 MB, free: 5.055 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.543e-06/1.543e-06, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.604e-05, allocations: 2.312 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.001958/0.001974, allocations: 1.676 MB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007089/0.002683, allocations: 0.5723 MB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.002762, allocations: 11.94 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.877e-05/0.00281, allocations: 7.875 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.002937, allocations: 19.86 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.003158, allocations: 67.67 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.066e-05/0.003249, allocations: 59.72 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.443e-05/0.003324, allocations: 16.22 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.003434, allocations: 43.89 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.003499, allocations: 15.92 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.003513, allocations: 3.984 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-05/0.003548, allocations: 16 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.003587, allocations: 11.94 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.003609, allocations: 19.92 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003725, allocations: 55.69 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003727, allocations: 0 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003728, allocations: 4 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.615e-06/0.00373, allocations: 0 / 276 MB, free: 14.45 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.0003076/0.004038, allocations: 288.5 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.004068, allocations: 11.98 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.004169, allocations: 16.92 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.00433, allocations: 161.5 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.004341, allocations: 12.3 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.004351, allocations: 4.375 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.004534, allocations: 132 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.004539, allocations: 192 / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.004546, allocations: 384 / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.004551, allocations: 7.938 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.00457, allocations: 15.92 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.004724, allocations: 170.8 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.298e-05/0.004787, allocations: 78.42 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.004814, allocations: 31.5 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.004829, allocations: 3.984 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.004848, allocations: 42.5 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.00485, allocations: 0 / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001187/0.004968, allocations: 77.42 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.005022, allocations: 132.5 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.005094, allocations: 144.1 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.005103, allocations: 25.7 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.005132, allocations: 92.11 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.005146, allocations: 8.453 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.005166, allocations: 9.719 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.005244, allocations: 326.8 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.005253, allocations: 4 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.005259, allocations: 4 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.893e-05/0.005278, allocations: 12.8 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005279, allocations: 0 / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.525e-05/0.005315, allocations: 37.69 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.005325, allocations: 4 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.00533, allocations: 3.938 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.00534, allocations: 0 / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-05/0.005385, allocations: 8.094 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.005388, allocations: 0 / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.005401, allocations: 0 / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.005406, allocations: 0 / 277.8 MB, free: 12.38 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 5.214e-05/0.005458, allocations: 116.7 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.005499, allocations: 49.62 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.005522, allocations: 19.91 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.005526, allocations: 3.984 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.005529, allocations: 0 / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.005532, allocations: 8.094 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.217e-05/0.005614, allocations: 85.77 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.005616, allocations: 4 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.005644, allocations: 8 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005645, allocations: 0 / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.00565, allocations: 7.984 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005651, allocations: 0 / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.005653, allocations: 3.938 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.116e-05/0.005714, allocations: 150.1 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.00574, allocations: 23.97 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.005749, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.089e-05/0.00578, allocations: 7.938 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.005799, allocations: 7.922 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.005802, allocations: 4 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.433e-05/0.005827, allocations: 34.25 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005827, allocations: 0 / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001116/0.005938, allocations: 8 kB / 278.3 MB, free: 11.79 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 5.752e-05/0.005996, allocations: 80.34 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.726e-05/0.006043, allocations: 24.8 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.006046, allocations: 4 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-06/0.006055, allocations: 4.859 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.006241, allocations: 45.3 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.006627, allocations: 213 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.006665, allocations: 63.75 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.103e-05/0.006686, allocations: 11.98 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.006739, allocations: 55.38 kB / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00674, allocations: 4 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Templates: time 0.002385/0.009124, allocations: 0.9619 MB / 279.8 MB, free: 10.28 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.6757882088422775]