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.001021/0.001021, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001113/0.001113, allocations: 165.8 kB / 24.99 MB, free: 8.75 MB / 18.57 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.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 2.064e-06/2.064e-06, allocations: 0 / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.194e-05, allocations: 9.266 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002428/0.00246, allocations: 1.607 MB / 274.6 MB, free: 148 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.003329, allocations: 0.5375 MB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.003429, allocations: 3.938 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.972e-05/0.003489, allocations: 3.938 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.003652, allocations: 19.84 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.00403, allocations: 55.7 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.004173, allocations: 51.78 kB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.004301, allocations: 12.17 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.004476, allocations: 39.84 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.004538, allocations: 19.91 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.00456, allocations: 8 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.507e-05/0.004606, allocations: 4 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.004731, allocations: 15.92 kB / 275.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.004761, allocations: 15.94 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.004903, allocations: 43.83 kB / 275.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.004906, allocations: 0 / 275.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004907, allocations: 0 / 275.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.004915, allocations: 0 / 275.4 MB, free: 15.31 MB / 266.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.0004402/0.005355, allocations: 412.2 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.005395, allocations: 15.98 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.005533, allocations: 24.83 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.005718, allocations: 152.9 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.005728, allocations: 384 / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.005738, allocations: 4.375 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.005974, allocations: 125.4 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.005982, allocations: 3.984 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.005991, allocations: 4 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.005999, allocations: 0 / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.006028, allocations: 11.94 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.006305, allocations: 263.5 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.161e-05/0.006366, allocations: 58 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.006397, allocations: 19.5 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.006418, allocations: 3.984 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.006443, allocations: 37.39 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.754e-06/0.006445, allocations: 0 / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001649/0.00661, allocations: 53.59 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.006656, allocations: 81.09 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.006769, allocations: 197.3 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.00678, allocations: 25.7 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.007004, allocations: 138.8 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.007023, allocations: 7.984 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.007056, allocations: 19.38 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.007175, allocations: 0.4883 MB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.00719, allocations: 0 / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.007201, allocations: 8.188 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.007227, allocations: 15.73 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.007229, allocations: 0 / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.669e-05/0.007286, allocations: 37.66 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.007302, allocations: 6.656 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.007306, allocations: 0 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.007325, allocations: 4 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.007392, allocations: 0 / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.007399, allocations: 0 / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.007416, allocations: 7.984 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.007423, allocations: 0 / 277.6 MB, free: 12.88 MB / 266.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 6.886e-05/0.007492, allocations: 160.5 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.007535, allocations: 45.59 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.007566, allocations: 15.73 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.007569, allocations: 0 / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.007573, allocations: 0 / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007576, allocations: 0 / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.007687, allocations: 132.6 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007688, allocations: 0 / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.007716, allocations: 7.984 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.007719, allocations: 4.031 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.007727, allocations: 0 / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.007729, allocations: 4 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.007732, allocations: 4 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.007841, allocations: 207.5 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.007872, allocations: 19.94 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.007886, allocations: 0 / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.007925, allocations: 3.984 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.007959, allocations: 4 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.007963, allocations: 0 / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.00802, allocations: 147.2 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00802, allocations: 4 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001403/0.008161, allocations: 4 kB / 278.4 MB, free: 12.05 MB / 266.7 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.098e-05/0.008251, allocations: 99.17 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.973e-05/0.008331, allocations: 15.62 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008333, allocations: 0 / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.376e-05/0.008347, allocations: 11.69 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.00861, allocations: 25.03 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.009072, allocations: 173.5 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.912e-05/0.009111, allocations: 63.34 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.213e-05/0.009133, allocations: 256 / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.009164, allocations: 16.5 kB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.009165, allocations: 0 / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of Templates: time 0.002379/0.01154, allocations: 0.6311 MB / 279.4 MB, free: 10.96 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 240] 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","",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.8917339381296188]