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.0007566/0.0007566, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.00178, allocations: 449.7 kB / 10.37 MB, free: 332 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.0006496/0.0006496, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008556/0.001505, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9824/0.9824, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08187/1.064, allocations: 52.49 MB / 238.3 MB, free: 4.43 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.232e-06/1.232e-06, allocations: 0 / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.209e-05, allocations: 2.875 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.001812/0.001824, allocations: 1.708 MB / 241.3 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005403/0.002364, allocations: 0.5038 MB / 241.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.002434, allocations: 7.938 kB / 241.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.002468, allocations: 15.92 kB / 241.8 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.002531, allocations: 11.81 kB / 241.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.002691, allocations: 59.69 kB / 241.9 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.285e-05/0.002784, allocations: 63.72 kB / 241.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.906e-05/0.002863, allocations: 15.98 kB / 241.9 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.796e-05/0.002951, allocations: 39.89 kB / 242 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.003003, allocations: 19.91 kB / 242 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.003021, allocations: 4 kB / 242 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.003031, allocations: 4 kB / 242 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.003064, allocations: 11.94 kB / 242 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.003091, allocations: 19.94 kB / 242 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.593e-05/0.003187, allocations: 43.78 kB / 242.1 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.0032, allocations: 0 / 242.1 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003201, allocations: 3.938 kB / 242.1 MB, free: 0.625 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.003213, allocations: 0 / 242.1 MB, free: 0.625 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.0003484/0.003561, allocations: 296.2 kB / 242.4 MB, free: 320 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.003591, allocations: 12.03 kB / 242.4 MB, free: 308 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.003621, allocations: 12.92 kB / 242.4 MB, free: 296 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.003775, allocations: 157.5 kB / 242.5 MB, free: 112 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.003783, allocations: 4.375 kB / 242.6 MB, free: 108 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.003792, allocations: 8.359 kB / 242.6 MB, free: 100 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.003966, allocations: 135.9 kB / 242.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.003973, allocations: 192 / 242.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.00398, allocations: 8.375 kB / 242.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.003985, allocations: 3.938 kB / 242.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.004007, allocations: 15.94 kB / 242.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.004169, allocations: 162.9 kB / 242.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.279e-05/0.004232, allocations: 82.3 kB / 243 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.004258, allocations: 35.55 kB / 243 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.004278, allocations: 4 kB / 243 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.004297, allocations: 38.55 kB / 243 MB, free: 15.51 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.004298, allocations: 0 / 243 MB, free: 15.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001119/0.00441, allocations: 73.5 kB / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.004462, allocations: 140.4 kB / 243.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.004533, allocations: 146.5 kB / 243.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.004542, allocations: 25.7 kB / 243.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.004573, allocations: 92.06 kB / 243.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.004584, allocations: 0 / 243.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.004605, allocations: 17.67 kB / 243.5 MB, free: 14.96 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.004674, allocations: 314.8 kB / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-06/0.00468, allocations: 0.5 kB / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.004688, allocations: 11.98 kB / 243.8 MB, free: 14.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.595e-05/0.004704, allocations: 4.859 kB / 243.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004706, allocations: 0 / 243.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.399e-05/0.00474, allocations: 37.64 kB / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.00475, allocations: 4 kB / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.004756, allocations: 7.922 kB / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.004763, allocations: 3.938 kB / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.004813, allocations: 4 kB / 243.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.004816, allocations: 0 / 243.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.00483, allocations: 8.094 kB / 243.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.004835, allocations: 3.984 kB / 243.9 MB, free: 14.55 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 5.363e-05/0.004889, allocations: 112.7 kB / 244 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.00493, allocations: 53.61 kB / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.004959, allocations: 19.86 kB / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.004961, allocations: 0 / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.004968, allocations: 4 kB / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.004971, allocations: 0 / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.356e-05/0.005054, allocations: 85.86 kB / 244.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005055, allocations: 4.094 kB / 244.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.005092, allocations: 23.92 kB / 244.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.005115, allocations: 11.94 kB / 244.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005117, allocations: 4 kB / 244.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.005121, allocations: 0 / 244.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.005123, allocations: 7.938 kB / 244.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005124, allocations: 0 / 244.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.242e-05/0.005187, allocations: 146.1 kB / 244.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.005197, allocations: 7.984 kB / 244.4 MB, free: 14.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.345e-05/0.005231, allocations: 4.031 kB / 244.4 MB, free: 14.01 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.00525, allocations: 11.92 kB / 244.4 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.005253, allocations: 7.938 kB / 244.4 MB, free: 13.99 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.201e-05/0.005275, allocations: 26.66 kB / 244.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005275, allocations: 0 / 244.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001114/0.005387, allocations: 12 kB / 244.4 MB, free: 13.95 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 5.595e-05/0.005443, allocations: 76.42 kB / 244.5 MB, free: 13.87 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.998e-05/0.005493, allocations: 20.84 kB / 244.5 MB, free: 13.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.005496, allocations: 0 / 244.5 MB, free: 13.84 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.005505, allocations: 16.86 kB / 244.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.005699, allocations: 37.44 kB / 244.6 MB, free: 13.79 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.006309, allocations: 211.9 kB / 244.8 MB, free: 13.54 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.006343, allocations: 74.17 kB / 244.9 MB, free: 13.45 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.013e-05/0.006363, allocations: 4 kB / 244.9 MB, free: 13.45 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.006416, allocations: 63.7 kB / 244.9 MB, free: 13.39 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006416, allocations: 4 kB / 244.9 MB, free: 13.38 MB / 250.7 MB Notification: Performance of Templates: time 0.00224/0.008657, allocations: 0.989 MB / 245.9 MB, free: 12.42 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4841099362820387]