Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001898/0.001898, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002693/0.002693, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.91 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3021, allocations: 53.41 MB / 432.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003205/0.3053, allocations: 1.586 MB / 434 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3064, allocations: 0.5686 MB / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.3065, allocations: 0 / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.582e-05/0.3066, allocations: 7.922 kB / 434.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3067, allocations: 19.86 kB / 434.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.307, allocations: 59.75 kB / 434.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3071, allocations: 43.86 kB / 434.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3073, allocations: 24.11 kB / 434.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3074, allocations: 31.84 kB / 434.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.3074, allocations: 15.92 kB / 434.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3075, allocations: 4 kB / 434.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-05/0.3075, allocations: 4 kB / 434.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.3075, allocations: 15.92 kB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.3076, allocations: 31.75 kB / 434.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.3077, allocations: 64.94 kB / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3077, allocations: 0 / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3077, allocations: 0 / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3078, allocations: 0 / 434.9 MB, free: 4.301 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.0004894/0.3082, allocations: 313.9 kB / 435.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3083, allocations: 8.031 kB / 435.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.3084, allocations: 20.88 kB / 435.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.3087, allocations: 142.5 kB / 435.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3087, allocations: 4.375 kB / 435.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.3087, allocations: 7.938 kB / 435.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.309, allocations: 105 kB / 435.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.309, allocations: 4 kB / 435.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.309, allocations: 4 kB / 435.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.309, allocations: 3.938 kB / 435.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.655e-05/0.3091, allocations: 19.97 kB / 435.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.3095, allocations: 232.8 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.3096, allocations: 45.14 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.3096, allocations: 25.77 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3096, allocations: 7.984 kB / 435.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.3097, allocations: 30.56 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3097, allocations: 0 / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002388/0.3099, allocations: 77.5 kB / 435.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.31, allocations: 77.11 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3101, allocations: 153.9 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3101, allocations: 29.69 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.3102, allocations: 92.14 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.3102, allocations: 3.953 kB / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.3102, allocations: 13.72 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3104, allocations: 318.8 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.3104, allocations: 4 kB / 436.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/0.3105, allocations: 29.7 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.3105, allocations: 21.7 kB / 436.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3106, allocations: 0 / 436.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001278/0.3107, allocations: 61.58 kB / 436.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3107, allocations: 4 kB / 436.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3107, allocations: 3.938 kB / 436.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3107, allocations: 4.125 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.3108, allocations: 7.984 kB / 436.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3108, allocations: 4 kB / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.3108, allocations: 7.938 kB / 436.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3108, allocations: 4 kB / 436.7 MB, free: 2.223 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.001e-05/0.3109, allocations: 109.8 kB / 436.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.311, allocations: 49.58 kB / 436.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.311, allocations: 3.812 kB / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.311, allocations: 8.031 kB / 436.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.311, allocations: 0 / 436.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.311, allocations: 3.938 kB / 436.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.3112, allocations: 140.7 kB / 437.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3112, allocations: 0 / 437.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.3113, allocations: 7.984 kB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3113, allocations: 0 / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3113, allocations: 4 kB / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3113, allocations: 0 / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3113, allocations: 4 kB / 437.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.3115, allocations: 164.2 kB / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.3115, allocations: 15.95 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3115, allocations: 3.984 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.3116, allocations: 7.938 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.3116, allocations: 7.938 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3116, allocations: 0 / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.48e-05/0.3117, allocations: 118.3 kB / 437.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3117, allocations: 0 / 437.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.3119, allocations: 4 kB / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001093/0.3121, allocations: 95.25 kB / 437.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.3122, allocations: 27.92 kB / 437.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3122, allocations: 0 / 437.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.3122, allocations: 12.11 kB / 437.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.3126, allocations: 20.02 kB / 437.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.313, allocations: 193.3 kB / 437.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3134, allocations: 0.6923 MB / 438.4 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.3134, allocations: 15.38 kB / 438.4 MB, free: 396 kB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3134, allocations: 160 / 438.4 MB, free: 396 kB / 334.1 MB Notification: Performance of Templates: time 0.002657/0.3161, allocations: 0.7894 MB / 439.2 MB, free: 15.6 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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: 7.333106474019587]