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.001364/0.001364, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001526/0.001526, allocations: 210.4 kB / 23.73 MB, free: 4.41 MB / 14.72 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001633/0.001633, allocations: 55.92 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2996, allocations: 53.36 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002914/0.3026, allocations: 1.598 MB / 433.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3036, allocations: 0.5104 MB / 433.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.3037, allocations: 7.938 kB / 433.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.3037, allocations: 3.938 kB / 433.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3039, allocations: 19.86 kB / 433.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.3042, allocations: 59.81 kB / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.3043, allocations: 51.78 kB / 433.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.3044, allocations: 8.188 kB / 433.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3045, allocations: 31.84 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.3045, allocations: 19.86 kB / 433.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3046, allocations: 4 kB / 433.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.3046, allocations: 4 kB / 433.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.3046, allocations: 23.92 kB / 433.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.3047, allocations: 15.88 kB / 433.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3048, allocations: 69.91 kB / 434 MB, free: 4.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3048, allocations: 4 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3048, allocations: 3.938 kB / 434 MB, free: 4.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3048, allocations: 0 / 434 MB, free: 4.258 MB / 334.1 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.0004659/0.3053, allocations: 313.8 kB / 434.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3053, allocations: 8.031 kB / 434.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.3055, allocations: 16.89 kB / 434.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.3057, allocations: 142.9 kB / 434.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3057, allocations: 4.375 kB / 434.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3058, allocations: 7.938 kB / 434.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.306, allocations: 109.9 kB / 434.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3061, allocations: 0 / 434.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3061, allocations: 0 / 434.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3061, allocations: 8 kB / 434.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.3062, allocations: 27.91 kB / 434.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.3064, allocations: 218.2 kB / 434.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3066, allocations: 67.78 kB / 434.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.3066, allocations: 30.64 kB / 434.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.3067, allocations: 7.938 kB / 435 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.3067, allocations: 42.53 kB / 435 MB, free: 3.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3067, allocations: 4 kB / 435 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002648/0.307, allocations: 81.56 kB / 435.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.3071, allocations: 106.8 kB / 435.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3072, allocations: 151.3 kB / 435.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3072, allocations: 25.7 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.3073, allocations: 92.12 kB / 435.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.3073, allocations: 4 kB / 435.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.3073, allocations: 21.98 kB / 435.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3075, allocations: 330.8 kB / 435.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.3075, allocations: 7.984 kB / 435.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.3076, allocations: 31.44 kB / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.3077, allocations: 51.36 kB / 435.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3077, allocations: 0 / 435.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.3078, allocations: 73.61 kB / 436 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3078, allocations: 4 kB / 436 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3078, allocations: 4 kB / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3078, allocations: 0 / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.3079, allocations: 15.92 kB / 436 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3079, allocations: 0 / 436 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.308, allocations: 4 kB / 436 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.308, allocations: 3.938 kB / 436 MB, free: 2.031 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.541e-05/0.3081, allocations: 122 kB / 436.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.3082, allocations: 57.55 kB / 436.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.3082, allocations: 15.95 kB / 436.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3082, allocations: 7.938 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3082, allocations: 0 / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3082, allocations: 0 / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.3084, allocations: 121.2 kB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3084, allocations: 0 / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.3084, allocations: 11.98 kB / 436.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3084, allocations: 0 / 436.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3084, allocations: 64 / 436.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3084, allocations: 8 kB / 436.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3084, allocations: 3.984 kB / 436.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.3086, allocations: 181.1 kB / 436.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.3087, allocations: 19.88 kB / 436.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3087, allocations: 4 kB / 436.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.3088, allocations: 4 kB / 436.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.3088, allocations: 3.984 kB / 436.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3088, allocations: 4 kB / 436.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.3089, allocations: 113.4 kB / 436.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3089, allocations: 8 kB / 436.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.3091, allocations: 4 kB / 436.7 MB, free: 1.285 MB / 334.1 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 0.0001047/0.3092, allocations: 103.2 kB / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.3094, allocations: 27.92 kB / 436.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3094, allocations: 4 kB / 436.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.3094, allocations: 7.984 kB / 436.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3098, allocations: 38.83 kB / 436.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.3101, allocations: 176.6 kB / 437 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.223e-05/0.3102, allocations: 79.27 kB / 437.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.896e-05/0.3103, allocations: 8 kB / 437.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.3103, allocations: 19.42 kB / 437.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3103, allocations: 0 / 437.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of Templates: time 0.003211/0.3135, allocations: 0.7366 MB / 437.9 MB, free: 56 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.630382748320699]