Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001736/0.001736, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.002185/0.002185, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 75.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2698, allocations: 53.32 MB / 432 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003772/0.2736, allocations: 1.93 MB / 434 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.276, allocations: 1.309 MB / 435.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.2762, allocations: 0 / 435.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.2766, allocations: 71.66 kB / 435.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.2769, allocations: 127.4 kB / 435.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006888/0.2776, allocations: 227.3 kB / 435.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.2779, allocations: 179.5 kB / 435.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.278, allocations: 25.53 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.2782, allocations: 75.7 kB / 436 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.2783, allocations: 79.66 kB / 436 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.2784, allocations: 11.94 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.2785, allocations: 75.89 kB / 436.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2786, allocations: 55.77 kB / 436.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.88e-05/0.2787, allocations: 75.48 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.2791, allocations: 248.5 kB / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2792, allocations: 0 / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2792, allocations: 0 / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2792, allocations: 0 / 436.5 MB, free: 2.867 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000896/0.2801, allocations: 0.5464 MB / 437.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2801, allocations: 8.031 kB / 437.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.2802, allocations: 24.8 kB / 437.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.2807, allocations: 299.7 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2807, allocations: 8.375 kB / 437.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.2807, allocations: 8.125 kB / 437.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.2811, allocations: 158.8 kB / 437.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2811, allocations: 0 / 437.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.2811, allocations: 0 / 437.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2811, allocations: 7.938 kB / 437.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.2813, allocations: 35.92 kB / 437.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.2819, allocations: 386.4 kB / 438 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.2821, allocations: 111.9 kB / 438.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2822, allocations: 46.5 kB / 438.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.2823, allocations: 8.078 kB / 438.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.2825, allocations: 79.36 kB / 438.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2825, allocations: 0 / 438.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004176/0.2829, allocations: 157.4 kB / 438.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.283, allocations: 162.5 kB / 438.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.2834, allocations: 330.7 kB / 438.8 MB, free: 264 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.2834, allocations: 33.7 kB / 438.9 MB, free: 224 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2835, allocations: 128.1 kB / 439 MB, free: 92 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.2835, allocations: 19.84 kB / 439 MB, free: 72 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.2836, allocations: 33.7 kB / 439.1 MB, free: 32 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.2838, allocations: 330.8 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.2839, allocations: 28.23 kB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.284, allocations: 86.84 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.2842, allocations: 96.16 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2842, allocations: 0 / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00024/0.2844, allocations: 121.5 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2844, allocations: 7.984 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2844, allocations: 0 / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2844, allocations: 4 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2846, allocations: 19.94 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.2846, allocations: 12 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.2846, allocations: 15.92 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.2846, allocations: 4 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001534/0.2848, allocations: 154.3 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.2849, allocations: 73.44 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.2852, allocations: 111.4 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.2852, allocations: 11.92 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2852, allocations: 4.109 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.2852, allocations: 7.922 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.2854, allocations: 237.5 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.2854, allocations: 4 kB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.467e-05/0.2855, allocations: 11.98 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2855, allocations: 0 / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.2855, allocations: 12.12 kB / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2855, allocations: 0 / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2855, allocations: 0 / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.2858, allocations: 170.5 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.2859, allocations: 112.9 kB / 440.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.286, allocations: 8 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.224e-05/0.286, allocations: 0 / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.2861, allocations: 11.98 kB / 440.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.2861, allocations: 7.938 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.2864, allocations: 253.9 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2864, allocations: 0 / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.2866, allocations: 31.94 kB / 441 MB, free: 13.95 MB / 350.1 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 (9): * Single equations (assignments): 7 * 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.001507/0.2881, allocations: 433 kB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.2884, allocations: 71.84 kB / 441.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.2884, allocations: 4 kB / 441.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.2885, allocations: 28.23 kB / 441.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.2889, allocations: 68.62 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.2897, allocations: 410.5 kB / 442 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.2901, allocations: 0.7399 MB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.2901, allocations: 23.42 kB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2901, allocations: 0 / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Templates: time 0.005611/0.2957, allocations: 2.992 MB / 445.7 MB, free: 9.316 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.544098861981183]