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.001357/0.001357, allocations: 88.59 kB / 20.69 MB, free: 1.02 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.001475/0.001475, allocations: 158.6 kB / 23.95 MB, free: 4.152 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.499/1.499, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.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 1.132e-06/1.132e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.957e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002848/0.002868, allocations: 1.575 MB / 326.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003948, allocations: 0.5241 MB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.004018, allocations: 6.594 kB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.004054, allocations: 5.25 kB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.004139, allocations: 12.05 kB / 327.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.004423, allocations: 61.81 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.004516, allocations: 56.89 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.004608, allocations: 7.984 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.004761, allocations: 40.05 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.004839, allocations: 15.11 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.004859, allocations: 3 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.004899, allocations: 5.344 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.004949, allocations: 14.89 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.004983, allocations: 18.75 kB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.005156, allocations: 58.72 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.005159, allocations: 0.6562 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00516, allocations: 4 kB / 327.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.005164, allocations: 0 / 327.4 MB, free: 14.92 MB / 302.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.000513/0.005677, allocations: 310.6 kB / 327.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.005714, allocations: 13.17 kB / 327.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.005872, allocations: 18.02 kB / 327.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.006134, allocations: 145.4 kB / 327.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.006144, allocations: 3.031 kB / 327.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.006158, allocations: 7.078 kB / 327.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.006436, allocations: 117.6 kB / 328 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.006445, allocations: 0.6562 kB / 328 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.006453, allocations: 5.469 kB / 328 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.006457, allocations: 0 / 328 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/0.00654, allocations: 22.64 kB / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.006835, allocations: 206.2 kB / 328.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/0.006931, allocations: 47.45 kB / 328.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.006986, allocations: 28.53 kB / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.007004, allocations: 1.438 kB / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.007035, allocations: 32.83 kB / 328.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.007036, allocations: 0 / 328.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002451/0.007281, allocations: 67.23 kB / 328.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.007344, allocations: 80.06 kB / 328.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.007492, allocations: 150.2 kB / 328.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.007519, allocations: 31.94 kB / 328.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.007578, allocations: 91.11 kB / 328.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.007594, allocations: 6.266 kB / 328.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.007628, allocations: 15.84 kB / 328.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.007785, allocations: 319.3 kB / 329.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.007828, allocations: 9.906 kB / 329.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.007858, allocations: 6.516 kB / 329.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.007932, allocations: 22.03 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.007933, allocations: 0 / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001234/0.008057, allocations: 55.47 kB / 329.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.008068, allocations: 7.562 kB / 329.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.008072, allocations: 0.6562 kB / 329.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.008084, allocations: 0 / 329.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.00814, allocations: 3.922 kB / 329.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.008144, allocations: 1.172 kB / 329.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.008175, allocations: 3.562 kB / 329.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.008184, allocations: 5.016 kB / 329.2 MB, free: 13.24 MB / 302.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 9.464e-05/0.008279, allocations: 125.5 kB / 329.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.008344, allocations: 41.2 kB / 329.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.008371, allocations: 12.22 kB / 329.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.008374, allocations: 1.078 kB / 329.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.008377, allocations: 0 / 329.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.00838, allocations: 3.625 kB / 329.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.008548, allocations: 118.3 kB / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008549, allocations: 0 / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.008594, allocations: 8.391 kB / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008596, allocations: 0.75 kB / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.008602, allocations: 32 / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008603, allocations: 4 kB / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.008605, allocations: 4.281 kB / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.008805, allocations: 163.5 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.008842, allocations: 16.78 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.008859, allocations: 5.156 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.008928, allocations: 3.453 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.008952, allocations: 1.812 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.008957, allocations: 2.656 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.009046, allocations: 112.9 kB / 329.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009047, allocations: 4.031 kB / 329.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.009272, allocations: 8.156 kB / 329.8 MB, free: 12.68 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 9.699e-05/0.009369, allocations: 94.62 kB / 329.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.009495, allocations: 19.56 kB / 329.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.0095, allocations: 5.156 kB / 329.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.918e-05/0.009549, allocations: 15.86 kB / 329.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.009875, allocations: 19.39 kB / 330 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.01022, allocations: 160 kB / 330.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.0103, allocations: 80.58 kB / 330.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.078e-05/0.01033, allocations: 3.047 kB / 330.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.01036, allocations: 10.5 kB / 330.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01036, allocations: 0.9688 kB / 330.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Templates: time 0.003272/0.01364, allocations: 0.6285 MB / 330.8 MB, free: 12.24 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/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: 4.305458955466747]