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.001014/0.001014, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002503, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009773/0.0009773, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.002094, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.7913/0.7913, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1301/0.9215, allocations: 52.48 MB / 238.5 MB, free: 7.641 MB / 234.7 MB " [Timeout remaining time 179] 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 1.202e-06/1.202e-06, allocations: 0 / 239.8 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.646e-06/9.848e-06, allocations: 2.312 kB / 239.8 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00167/0.00168, allocations: 1.704 MB / 241.5 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004775/0.002157, allocations: 0.5083 MB / 242 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.002221, allocations: 7.938 kB / 242 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.002252, allocations: 4.625 kB / 242 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.002313, allocations: 19.8 kB / 242 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.002466, allocations: 62.19 kB / 242.1 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.667e-05/0.002552, allocations: 59.73 kB / 242.1 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.002617, allocations: 11.98 kB / 242.1 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.002697, allocations: 43.88 kB / 242.2 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.002742, allocations: 23.91 kB / 242.2 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.00276, allocations: 4 kB / 242.2 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.002772, allocations: 5.438 kB / 242.2 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.002806, allocations: 11.94 kB / 242.2 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.002826, allocations: 15.94 kB / 242.2 MB, free: 3.891 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/0.002914, allocations: 44.53 kB / 242.3 MB, free: 3.848 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.002922, allocations: 4 kB / 242.3 MB, free: 3.844 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002923, allocations: 0 / 242.3 MB, free: 3.844 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.002932, allocations: 1.094 kB / 242.3 MB, free: 3.844 MB / 234.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.0003126/0.003245, allocations: 300.2 kB / 242.6 MB, free: 3.527 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.003272, allocations: 15.16 kB / 242.6 MB, free: 3.516 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.003298, allocations: 8.938 kB / 242.6 MB, free: 3.508 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.003441, allocations: 157.5 kB / 242.7 MB, free: 3.328 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.003449, allocations: 4.375 kB / 242.8 MB, free: 3.324 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.003459, allocations: 4.375 kB / 242.8 MB, free: 3.32 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.003612, allocations: 133.2 kB / 242.9 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.003617, allocations: 192 / 242.9 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.003624, allocations: 5.406 kB / 242.9 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.00363, allocations: 7.938 kB / 242.9 MB, free: 3.152 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.00365, allocations: 18.95 kB / 242.9 MB, free: 3.137 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.003793, allocations: 166.8 kB / 243.1 MB, free: 2.949 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.003851, allocations: 78.38 kB / 243.2 MB, free: 2.836 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.00388, allocations: 35.53 kB / 243.2 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.003901, allocations: 11.98 kB / 243.2 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.00392, allocations: 39.47 kB / 243.2 MB, free: 2.73 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.00392, allocations: 0 / 243.2 MB, free: 2.73 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001095/0.00403, allocations: 68.23 kB / 243.3 MB, free: 2.66 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.004077, allocations: 136.5 kB / 243.4 MB, free: 2.496 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/0.004144, allocations: 143.9 kB / 243.6 MB, free: 2.344 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.004153, allocations: 33.7 kB / 243.6 MB, free: 2.305 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.00418, allocations: 88.72 kB / 243.7 MB, free: 2.215 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.004191, allocations: 4 kB / 243.7 MB, free: 2.211 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.004211, allocations: 14.36 kB / 243.7 MB, free: 2.191 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.00427, allocations: 322.8 kB / 244 MB, free: 1.867 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-06/0.004275, allocations: 1.969 kB / 244 MB, free: 1.867 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.00428, allocations: 0 / 244 MB, free: 1.867 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.378e-05/0.004294, allocations: 8.859 kB / 244 MB, free: 1.855 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.004295, allocations: 0 / 244 MB, free: 1.855 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.088e-05/0.004326, allocations: 43.09 kB / 244.1 MB, free: 1.809 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.004336, allocations: 4 kB / 244.1 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004339, allocations: 3.938 kB / 244.1 MB, free: 1.801 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.004349, allocations: 0.625 kB / 244.1 MB, free: 1.801 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.445e-05/0.004393, allocations: 4 kB / 244.1 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.004396, allocations: 0.5938 kB / 244.1 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.004409, allocations: 0.5625 kB / 244.1 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.004415, allocations: 3.984 kB / 244.1 MB, free: 1.793 MB / 234.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 4.404e-05/0.004459, allocations: 122.3 kB / 244.2 MB, free: 1.664 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.004496, allocations: 49.62 kB / 244.3 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.004522, allocations: 20.39 kB / 244.3 MB, free: 1.582 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.004524, allocations: 0.8438 kB / 244.3 MB, free: 1.582 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.004526, allocations: 4 kB / 244.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.004528, allocations: 1.625 kB / 244.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.864e-05/0.004607, allocations: 73.88 kB / 244.4 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.004608, allocations: 4 kB / 244.4 MB, free: 1.484 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.004639, allocations: 19.92 kB / 244.4 MB, free: 1.465 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.004662, allocations: 15.94 kB / 244.4 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.004665, allocations: 4.688 kB / 244.4 MB, free: 1.445 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-06/0.004669, allocations: 4 kB / 244.4 MB, free: 1.441 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.004671, allocations: 3.938 kB / 244.4 MB, free: 1.438 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.004672, allocations: 4 kB / 244.4 MB, free: 1.434 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.842e-05/0.00473, allocations: 142.1 kB / 244.6 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.004741, allocations: 15.92 kB / 244.6 MB, free: 1.254 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.188e-05/0.004773, allocations: 0 / 244.6 MB, free: 1.254 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.004792, allocations: 7.938 kB / 244.6 MB, free: 1.246 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.004795, allocations: 4 kB / 244.6 MB, free: 1.242 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.433e-05/0.00482, allocations: 32.08 kB / 244.6 MB, free: 1.211 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00482, allocations: 0 / 244.6 MB, free: 1.211 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001128/0.004933, allocations: 16.03 kB / 244.6 MB, free: 1.195 MB / 234.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.641e-05/0.004989, allocations: 80.41 kB / 244.7 MB, free: 1.109 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.886e-05/0.005038, allocations: 12.86 kB / 244.7 MB, free: 1.094 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.005041, allocations: 3.938 kB / 244.7 MB, free: 1.09 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.005054, allocations: 8.859 kB / 244.7 MB, free: 1.078 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.00529, allocations: 207.5 kB / 244.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.005896, allocations: 220.5 kB / 245.2 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.402e-05/0.00593, allocations: 63.34 kB / 245.2 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.285e-05/0.005953, allocations: 7.984 kB / 245.2 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.006008, allocations: 63.38 kB / 245.3 MB, free: 444 kB / 234.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006008, allocations: 0 / 245.3 MB, free: 444 kB / 234.7 MB Notification: Performance of Templates: time 0.002119/0.008127, allocations: 0.9931 MB / 246.3 MB, free: 15.48 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.246362785808742]