Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.002485, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007529/0.0007529, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009873/0.00174, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.079/1.079, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1244/1.204, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.971e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004695/0.004725, allocations: 1.724 MB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.006016, allocations: 0.5879 MB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.006149, allocations: 7.938 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.124e-05/0.006221, allocations: 3.938 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.006371, allocations: 11.86 kB / 247.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.006762, allocations: 71.67 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.006933, allocations: 59.73 kB / 247.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.007054, allocations: 16.16 kB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.007297, allocations: 51.89 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.007385, allocations: 15.92 kB / 247.3 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.007408, allocations: 7.938 kB / 247.3 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.007496, allocations: 19.98 kB / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.007547, allocations: 11.94 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.007576, allocations: 11.94 kB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.007776, allocations: 47.78 kB / 247.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.65e-05/0.007792, allocations: 0 / 247.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.007794, allocations: 0 / 247.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.007808, allocations: 0 / 247.4 MB, free: 11.55 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.0006121/0.00842, allocations: 308.1 kB / 247.7 MB, free: 11.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.008471, allocations: 8.031 kB / 247.7 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.008713, allocations: 97.97 kB / 247.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.008985, allocations: 170.2 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.009, allocations: 4.375 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.009015, allocations: 384 / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.009353, allocations: 136 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.009368, allocations: 4.125 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.009381, allocations: 4.375 kB / 248.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.009397, allocations: 7.922 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.009436, allocations: 8 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.009743, allocations: 166.9 kB / 248.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.009848, allocations: 78.42 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.00989, allocations: 35.48 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.009916, allocations: 0 / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.009949, allocations: 42.5 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.945e-06/0.009952, allocations: 3.984 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002142/0.01017, allocations: 73.48 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/0.01025, allocations: 132.5 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.01038, allocations: 149.9 kB / 248.8 MB, free: 9.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.0104, allocations: 25.7 kB / 248.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.01045, allocations: 88.12 kB / 248.9 MB, free: 9.809 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.01047, allocations: 4.453 kB / 248.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.01051, allocations: 21.7 kB / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01062, allocations: 318.8 kB / 249.2 MB, free: 9.457 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.01063, allocations: 7.938 kB / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.01064, allocations: 3.938 kB / 249.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.01068, allocations: 16.84 kB / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01068, allocations: 0 / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.4e-05/0.01075, allocations: 33.7 kB / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.01077, allocations: 4 kB / 249.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.01078, allocations: 3.938 kB / 249.3 MB, free: 9.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.0108, allocations: 4.094 kB / 249.3 MB, free: 9.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/0.01088, allocations: 7.984 kB / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.01089, allocations: 0 / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.01091, allocations: 0 / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.01092, allocations: 0 / 249.3 MB, free: 9.367 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 8.713e-05/0.011, allocations: 116.6 kB / 249.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.01109, allocations: 53.61 kB / 249.5 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.01114, allocations: 15.91 kB / 249.5 MB, free: 9.168 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01114, allocations: 0 / 249.5 MB, free: 9.168 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01115, allocations: 4.094 kB / 249.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.01115, allocations: 4 kB / 249.5 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.0113, allocations: 85.77 kB / 249.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.0113, allocations: 4 kB / 249.6 MB, free: 9.055 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.01139, allocations: 11.98 kB / 249.6 MB, free: 9.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.01144, allocations: 15.94 kB / 249.6 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.01144, allocations: 4 kB / 249.6 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01145, allocations: 0 / 249.6 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01146, allocations: 3.938 kB / 249.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.01146, allocations: 4 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.01158, allocations: 154.1 kB / 249.8 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.0116, allocations: 4 kB / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.01167, allocations: 0 / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.01171, allocations: 7.938 kB / 249.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.01171, allocations: 3.984 kB / 249.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.462e-05/0.01176, allocations: 35.06 kB / 249.8 MB, free: 8.789 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01176, allocations: 0 / 249.8 MB, free: 8.789 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.01196, allocations: 8 kB / 249.8 MB, free: 8.781 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 0.0001323/0.01209, allocations: 76.42 kB / 249.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.936e-05/0.01219, allocations: 36.73 kB / 249.9 MB, free: 8.656 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.0122, allocations: 0 / 249.9 MB, free: 8.656 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.01222, allocations: 8.859 kB / 249.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.01266, allocations: 210.4 kB / 250.1 MB, free: 8.402 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.01378, allocations: 225.3 kB / 250.4 MB, free: 8.148 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.01384, allocations: 67.34 kB / 250.4 MB, free: 8.062 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.686e-05/0.01389, allocations: 0 / 250.4 MB, free: 8.062 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.014, allocations: 67.36 kB / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of SimCode: time 1.203e-06/0.014, allocations: 0 / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of Templates: time 0.004148/0.01815, allocations: 0.9848 MB / 251.5 MB, free: 7.039 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.630613313987851]