Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.001092/0.001092, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001116/0.002208, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007514/0.0007514, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001753, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08256/1.104, allocations: 53.64 MB / 243.3 MB, free: 15.58 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.926e-05, allocations: 2.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001936/0.001955, allocations: 1.699 MB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.002701, allocations: 0.5537 MB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/0.002794, allocations: 4 kB / 246.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.956e-05/0.002844, allocations: 7.875 kB / 246.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/0.002932, allocations: 11.86 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.003169, allocations: 67.67 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.003275, allocations: 43.86 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.003356, allocations: 8.188 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.003484, allocations: 47.83 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.003532, allocations: 15.92 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.003547, allocations: 4 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.005e-05/0.003597, allocations: 4 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.003632, allocations: 15.92 kB / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.00365, allocations: 11.94 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003758, allocations: 43.78 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.003771, allocations: 4 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003772, allocations: 0 / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.003782, allocations: 0 / 247.1 MB, free: 11.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003561/0.004138, allocations: 308.1 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.004168, allocations: 8.031 kB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.004294, allocations: 94.03 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.004434, allocations: 138.2 kB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.004441, allocations: 4.375 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.004449, allocations: 8.375 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.004597, allocations: 110.9 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004604, allocations: 3.938 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.004611, allocations: 3.984 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004616, allocations: 4 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.004633, allocations: 4 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.004792, allocations: 169.9 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.366e-05/0.004846, allocations: 59.73 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.004865, allocations: 22.7 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.004884, allocations: 4 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.004906, allocations: 42.48 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.004907, allocations: 0 / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001169/0.005024, allocations: 57.5 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.005073, allocations: 107.2 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.138e-05/0.005144, allocations: 146 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.005153, allocations: 25.7 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.005185, allocations: 88.12 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.005198, allocations: 3.953 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.005222, allocations: 21.7 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.005291, allocations: 314.8 kB / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-06/0.005297, allocations: 0 / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-06/0.005304, allocations: 4 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.125e-05/0.005325, allocations: 8.859 kB / 248.8 MB, free: 9.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.005328, allocations: 8 kB / 248.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.886e-05/0.005367, allocations: 41.62 kB / 248.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.005379, allocations: 4 kB / 248.8 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.005382, allocations: 0 / 248.8 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.005391, allocations: 0 / 248.8 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.005446, allocations: 4 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.005448, allocations: 0 / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.005463, allocations: 4 kB / 248.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.005467, allocations: 0 / 248.9 MB, free: 9.734 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.367e-05/0.005521, allocations: 112.7 kB / 249 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.005557, allocations: 57.59 kB / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.005579, allocations: 7.969 kB / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.005581, allocations: 0 / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005583, allocations: 0 / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.005585, allocations: 0 / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.629e-05/0.005672, allocations: 81.88 kB / 249.1 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005673, allocations: 0 / 249.1 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.005703, allocations: 11.98 kB / 249.1 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.005727, allocations: 15.88 kB / 249.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.00573, allocations: 4 kB / 249.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.005734, allocations: 4.062 kB / 249.1 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005735, allocations: 0 / 249.1 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.005738, allocations: 11.92 kB / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.451e-05/0.005803, allocations: 133.3 kB / 249.3 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.005814, allocations: 11.92 kB / 249.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.005845, allocations: 7.938 kB / 249.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.005871, allocations: 3.984 kB / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.005876, allocations: 4 kB / 249.3 MB, free: 9.219 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.447e-05/0.0059, allocations: 24.83 kB / 249.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0059, allocations: 0 / 249.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001111/0.006011, allocations: 15.98 kB / 249.4 MB, free: 9.176 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 6.611e-05/0.006077, allocations: 80.41 kB / 249.4 MB, free: 9.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.813e-05/0.006136, allocations: 16.8 kB / 249.4 MB, free: 9.066 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.006139, allocations: 0 / 249.4 MB, free: 9.066 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.006154, allocations: 8.859 kB / 249.5 MB, free: 9.055 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.006347, allocations: 32.73 kB / 249.5 MB, free: 9.02 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.006987, allocations: 192 kB / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.534e-05/0.007022, allocations: 63.34 kB / 249.7 MB, free: 8.719 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.409e-05/0.007046, allocations: 4 kB / 249.7 MB, free: 8.715 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.007099, allocations: 63.36 kB / 249.8 MB, free: 8.652 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0071, allocations: 0 / 249.8 MB, free: 8.652 MB / 250.7 MB Notification: Performance of Templates: time 0.002164/0.009265, allocations: 0.7514 MB / 250.6 MB, free: 7.918 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.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.415562892332673]