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.001131/0.001131, allocations: 82.97 kB / 21.43 MB, free: 3.074 MB / 18.57 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.001174/0.001174, allocations: 149 kB / 24.81 MB, free: 9.23 MB / 18.57 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 1.054/1.054, allocations: 173.3 MB / 201.4 MB, free: 9.227 MB / 186.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.663e-06/1.663e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.874e-05, allocations: 10.25 kB / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00257/0.002599, allocations: 1.647 MB / 270.1 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007554/0.003354, allocations: 0.4984 MB / 270.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.003456, allocations: 11.94 kB / 270.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.037e-05/0.003506, allocations: 7.875 kB / 270.6 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.003669, allocations: 15.86 kB / 270.6 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.003972, allocations: 63.69 kB / 270.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.004094, allocations: 51.78 kB / 270.7 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.004194, allocations: 12 kB / 270.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.697e-05/0.004291, allocations: 39.89 kB / 270.8 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.004353, allocations: 15.92 kB / 270.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.004371, allocations: 4 kB / 270.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.004383, allocations: 4 kB / 270.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.004433, allocations: 23.91 kB / 270.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.004455, allocations: 15.94 kB / 270.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.004565, allocations: 55.62 kB / 270.9 MB, free: 3.707 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.004569, allocations: 4 kB / 270.9 MB, free: 3.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.00457, allocations: 4 kB / 270.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.004575, allocations: 0 / 270.9 MB, free: 3.699 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.00038/0.004955, allocations: 404.2 kB / 271.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.004993, allocations: 8.031 kB / 271.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.005023, allocations: 12.89 kB / 271.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.005183, allocations: 172.2 kB / 271.5 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.005191, allocations: 4.375 kB / 271.5 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.0052, allocations: 4.359 kB / 271.5 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.005416, allocations: 152.9 kB / 271.6 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.005425, allocations: 192 / 271.6 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.005432, allocations: 384 / 271.6 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.005437, allocations: 3.938 kB / 271.6 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.49e-05/0.005462, allocations: 23.92 kB / 271.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.005691, allocations: 263.5 kB / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.216e-05/0.005783, allocations: 120.2 kB / 272 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.005815, allocations: 42.86 kB / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.00584, allocations: 11.98 kB / 272.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.005863, allocations: 41.33 kB / 272.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.005864, allocations: 4 kB / 272.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001383/0.006002, allocations: 73.5 kB / 272.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.006058, allocations: 140.5 kB / 272.3 MB, free: 2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.006157, allocations: 200.9 kB / 272.5 MB, free: 1.789 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.00617, allocations: 33.7 kB / 272.6 MB, free: 1.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.006226, allocations: 134.8 kB / 272.7 MB, free: 1.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.006241, allocations: 3.984 kB / 272.7 MB, free: 1.609 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.006267, allocations: 19.88 kB / 272.7 MB, free: 1.582 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.006371, allocations: 0.4923 MB / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.00638, allocations: 0 / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.006385, allocations: 0 / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.941e-05/0.006405, allocations: 15.69 kB / 273.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.006407, allocations: 0 / 273.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.095e-05/0.006457, allocations: 45.58 kB / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.006472, allocations: 7.938 kB / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006477, allocations: 0 / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.006488, allocations: 0 / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.00654, allocations: 8.094 kB / 273.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.006543, allocations: 0 / 273.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.006561, allocations: 3.938 kB / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.006568, allocations: 4 kB / 273.3 MB, free: 0.9844 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.239e-05/0.00665, allocations: 164.5 kB / 273.5 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.006715, allocations: 57.59 kB / 273.5 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.006748, allocations: 15.89 kB / 273.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.00675, allocations: 4 kB / 273.5 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.006752, allocations: 0 / 273.5 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.006756, allocations: 8.094 kB / 273.5 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.006857, allocations: 113.2 kB / 273.7 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.006859, allocations: 0 / 273.7 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.006899, allocations: 19.92 kB / 273.7 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.006902, allocations: 0 / 273.7 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.006907, allocations: 4 kB / 273.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006909, allocations: 0 / 273.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.006911, allocations: 3.938 kB / 273.7 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.007014, allocations: 215 kB / 273.9 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.007044, allocations: 19.88 kB / 273.9 MB, free: 300 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.007053, allocations: 4.031 kB / 273.9 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.007089, allocations: 7.938 kB / 273.9 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.007112, allocations: 7.938 kB / 273.9 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.007124, allocations: 4 kB / 273.9 MB, free: 276 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.961e-05/0.007174, allocations: 147.1 kB / 274.1 MB, free: 128 kB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007174, allocations: 0 / 274.1 MB, free: 128 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.007326, allocations: 4 kB / 274.1 MB, free: 124 kB / 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 8.472e-05/0.007411, allocations: 99.25 kB / 274.2 MB, free: 16 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.945e-05/0.00749, allocations: 27.61 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.007492, allocations: 0 / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.007504, allocations: 11.69 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.00775, allocations: 29.44 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.008176, allocations: 219.2 kB / 274.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.65e-05/0.008213, allocations: 63.34 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.629e-05/0.008239, allocations: 8.406 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.008301, allocations: 86.19 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008301, allocations: 0 / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of Templates: time 0.002561/0.01086, allocations: 0.9906 MB / 275.6 MB, free: 14.55 MB / 266.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 -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.739417931996286]