Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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.001312/0.001312, allocations: 81.58 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001318/0.001318, allocations: 151 kB / 23.94 MB, free: 4.164 MB / 14.72 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.449/1.449, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.728e-05, allocations: 2.281 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002492/0.002519, allocations: 1.547 MB / 320.5 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.003343, allocations: 469.5 kB / 320.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.746e-05/0.003431, allocations: 5.344 kB / 320.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.422e-05/0.003485, allocations: 5.766 kB / 320.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.003634, allocations: 12.56 kB / 320.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.003883, allocations: 55.66 kB / 321 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.003993, allocations: 49.56 kB / 321 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.00409, allocations: 16 kB / 321.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.233e-05/0.004182, allocations: 31.72 kB / 321.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.004238, allocations: 14.09 kB / 321.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.004264, allocations: 2.906 kB / 321.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.004278, allocations: 6.469 kB / 321.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.004325, allocations: 15.19 kB / 321.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.004355, allocations: 18.27 kB / 321.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.004477, allocations: 56.22 kB / 321.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.00448, allocations: 0 / 321.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004481, allocations: 4 kB / 321.2 MB, free: 2.066 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.004491, allocations: 3.938 kB / 321.2 MB, free: 2.062 MB / 286.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.000396/0.004887, allocations: 302.9 kB / 321.5 MB, free: 1.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.004923, allocations: 10.12 kB / 321.5 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.004957, allocations: 9.172 kB / 321.5 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.005143, allocations: 144 kB / 321.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.005155, allocations: 1.969 kB / 321.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.00517, allocations: 3.469 kB / 321.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.005458, allocations: 121.7 kB / 321.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.005469, allocations: 192 / 321.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005478, allocations: 5.031 kB / 321.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005484, allocations: 1 kB / 321.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.005566, allocations: 18.14 kB / 321.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.005788, allocations: 206.4 kB / 322 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.005872, allocations: 47.16 kB / 322.1 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.005919, allocations: 24.42 kB / 322.1 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.005938, allocations: 1.094 kB / 322.1 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.005955, allocations: 38.59 kB / 322.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.005956, allocations: 3.938 kB / 322.1 MB, free: 1.176 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002384/0.006195, allocations: 65.75 kB / 322.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.006236, allocations: 84.64 kB / 322.3 MB, free: 1.035 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.006374, allocations: 137.9 kB / 322.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.006387, allocations: 26.73 kB / 322.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.006434, allocations: 95.66 kB / 322.5 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.006452, allocations: 5.672 kB / 322.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.006486, allocations: 12.56 kB / 322.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.006568, allocations: 318.5 kB / 322.9 MB, free: 476 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.006613, allocations: 6.484 kB / 322.9 MB, free: 476 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.006647, allocations: 7.078 kB / 322.9 MB, free: 476 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.331e-05/0.00672, allocations: 20.45 kB / 322.9 MB, free: 464 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.006722, allocations: 1.094 kB / 322.9 MB, free: 464 kB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001151/0.006837, allocations: 59.78 kB / 322.9 MB, free: 416 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.006855, allocations: 5.734 kB / 323 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.006862, allocations: 1.25 kB / 323 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.006879, allocations: 0 / 323 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.006958, allocations: 4 kB / 323 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.006966, allocations: 1 kB / 323 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.007001, allocations: 1.891 kB / 323 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.007008, allocations: 1 kB / 323 MB, free: 416 kB / 286.1 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 7.124e-05/0.00708, allocations: 112.4 kB / 323.1 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.007138, allocations: 50.45 kB / 323.1 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.007172, allocations: 13.34 kB / 323.1 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007174, allocations: 0 / 323.1 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.007178, allocations: 5.094 kB / 323.1 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007181, allocations: 1.031 kB / 323.1 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.007291, allocations: 120.3 kB / 323.3 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007294, allocations: 1.125 kB / 323.3 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.00734, allocations: 6.734 kB / 323.3 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007341, allocations: 3.938 kB / 323.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.00735, allocations: 6.156 kB / 323.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.007352, allocations: 5.281 kB / 323.3 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007353, allocations: 0 / 323.3 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.007547, allocations: 155.5 kB / 323.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.007583, allocations: 11.92 kB / 323.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.007605, allocations: 10.02 kB / 323.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.007673, allocations: 1.969 kB / 323.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.007708, allocations: 1.969 kB / 323.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.007713, allocations: 2.125 kB / 323.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.59e-05/0.007809, allocations: 119.3 kB / 323.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.007809, allocations: 4.031 kB / 323.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.008037, allocations: 4.406 kB / 323.6 MB, free: 15.84 MB / 302.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.0001185/0.008155, allocations: 99.28 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.00829, allocations: 20.67 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.008291, allocations: 0 / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.008332, allocations: 7.375 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.00866, allocations: 24.12 kB / 323.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.00903, allocations: 167.2 kB / 323.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.273e-05/0.009112, allocations: 71.58 kB / 324 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.334e-05/0.009146, allocations: 3.547 kB / 324 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.009175, allocations: 10.81 kB / 324 MB, free: 15.5 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.009176, allocations: 0 / 324 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Templates: time 0.003545/0.01272, allocations: 0.6264 MB / 324.6 MB, free: 15.41 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.241739321500063]