Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0008071/0.0008071, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00128/0.002087, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000706/0.000706, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009451/0.001651, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9078/0.9078, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08497/0.9928, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.963e-05, allocations: 5.406 kB / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002227/0.002246, allocations: 1.991 MB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.00378, allocations: 1.277 MB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.003857, allocations: 4 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.004011, allocations: 67.55 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.004199, allocations: 139.2 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.004537, allocations: 239 kB / 248.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.004705, allocations: 187.4 kB / 249.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.885e-05/0.004774, allocations: 14.47 kB / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.005124, allocations: 132.5 kB / 249.2 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.005202, allocations: 71.73 kB / 249.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.005218, allocations: 8 kB / 249.3 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.005337, allocations: 71.88 kB / 249.4 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.00539, allocations: 47.86 kB / 249.4 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.005425, allocations: 35.81 kB / 249.5 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.005625, allocations: 175.3 kB / 249.6 MB, free: 9.137 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.005633, allocations: 3.938 kB / 249.6 MB, free: 9.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005634, allocations: 0 / 249.6 MB, free: 9.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.005641, allocations: 0 / 249.6 MB, free: 9.133 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004228/0.006064, allocations: 480.8 kB / 250.1 MB, free: 8.633 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.435e-05/0.006088, allocations: 8.031 kB / 250.1 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.006122, allocations: 20.92 kB / 250.1 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.006306, allocations: 216.8 kB / 250.3 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.006318, allocations: 384 / 250.3 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.006331, allocations: 8.375 kB / 250.4 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.006492, allocations: 141.7 kB / 250.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.0065, allocations: 3.938 kB / 250.5 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.006508, allocations: 7.984 kB / 250.5 MB, free: 8.184 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.006513, allocations: 4 kB / 250.5 MB, free: 8.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.006548, allocations: 18.81 kB / 250.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.006761, allocations: 215.5 kB / 250.7 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.006869, allocations: 137.4 kB / 250.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.006898, allocations: 34.48 kB / 250.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.006914, allocations: 8 kB / 250.9 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.04e-05/0.006994, allocations: 62.2 kB / 251 MB, free: 7.637 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.006995, allocations: 8 kB / 251 MB, free: 7.629 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001581/0.007154, allocations: 85.53 kB / 251.1 MB, free: 7.539 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.007204, allocations: 110.8 kB / 251.2 MB, free: 7.406 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.007402, allocations: 258.6 kB / 251.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.007419, allocations: 29.7 kB / 251.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.007457, allocations: 104.6 kB / 251.6 MB, free: 7 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.007474, allocations: 15.89 kB / 251.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.007506, allocations: 29.66 kB / 251.6 MB, free: 6.949 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.007576, allocations: 335 kB / 251.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.007598, allocations: 10.83 kB / 251.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.121e-05/0.007639, allocations: 60.14 kB / 252 MB, free: 6.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.007696, allocations: 39.36 kB / 252 MB, free: 6.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007698, allocations: 0 / 252 MB, free: 6.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.845e-05/0.007796, allocations: 72.38 kB / 252.1 MB, free: 6.402 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.00781, allocations: 4 kB / 252.1 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.007814, allocations: 0 / 252.1 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.007827, allocations: 4 kB / 252.1 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.007909, allocations: 20.05 kB / 252.1 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.007912, allocations: 0 / 252.1 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.007957, allocations: 4.312 kB / 252.1 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.007962, allocations: 4 kB / 252.1 MB, free: 6.367 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.025e-05/0.008042, allocations: 128.6 kB / 252.3 MB, free: 6.23 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.008108, allocations: 53.62 kB / 252.3 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.008231, allocations: 79.38 kB / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.008235, allocations: 4 kB / 252.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.008236, allocations: 0 / 252.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.008241, allocations: 4.062 kB / 252.4 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.008371, allocations: 121.7 kB / 252.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.008372, allocations: 0 / 252.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.008436, allocations: 15.98 kB / 252.5 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.008492, allocations: 35.78 kB / 252.6 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.008494, allocations: 0 / 252.6 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.008502, allocations: 0 / 252.6 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.008505, allocations: 4 kB / 252.6 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008506, allocations: 0 / 252.6 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.008654, allocations: 108.4 kB / 252.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.008682, allocations: 15.94 kB / 252.7 MB, free: 5.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.008725, allocations: 0 / 252.7 MB, free: 5.742 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.008761, allocations: 11.98 kB / 252.7 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.008773, allocations: 4 kB / 252.7 MB, free: 5.727 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.00888, allocations: 101.6 kB / 252.8 MB, free: 5.621 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00888, allocations: 0 / 252.8 MB, free: 5.621 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000215/0.009095, allocations: 35.92 kB / 252.9 MB, free: 5.586 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001453/0.01055, allocations: 0.5584 MB / 253.4 MB, free: 5.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.01063, allocations: 40.77 kB / 253.5 MB, free: 5.211 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.01064, allocations: 4 kB / 253.5 MB, free: 5.207 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.01069, allocations: 28.83 kB / 253.5 MB, free: 5.176 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.01099, allocations: 359.2 kB / 253.8 MB, free: 4.754 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.01152, allocations: 335.5 kB / 254.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.01156, allocations: 84.31 kB / 254.2 MB, free: 4.289 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.141e-05/0.0116, allocations: 21.48 kB / 254.3 MB, free: 4.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.01168, allocations: 79.36 kB / 254.3 MB, free: 4.191 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01168, allocations: 0 / 254.3 MB, free: 4.191 MB / 250.7 MB Notification: Performance of Templates: time 0.004365/0.01605, allocations: 3.301 MB / 257.6 MB, free: 0.9453 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.670767200179398]