Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 173.4 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9499/0.9499, allocations: 177.2 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.017e-05, allocations: 2.312 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002384/0.002405, allocations: 1.688 MB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008176/0.003222, allocations: 0.5568 MB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.003303, allocations: 0 / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.003349, allocations: 7.875 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.003486, allocations: 15.88 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.003744, allocations: 63.67 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.003853, allocations: 51.78 kB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.924e-05/0.003932, allocations: 12.17 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.004048, allocations: 35.91 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.004092, allocations: 19.92 kB / 276 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.004107, allocations: 4 kB / 276 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.848e-05/0.004156, allocations: 4 kB / 276 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.004192, allocations: 19.91 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.004211, allocations: 12 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.004324, allocations: 47.7 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004326, allocations: 4 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004327, allocations: 0 / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.004331, allocations: 0 / 276 MB, free: 14.69 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.0002846/0.004615, allocations: 276.6 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.004648, allocations: 16.03 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.497e-05/0.004743, allocations: 16.92 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.004894, allocations: 146.2 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.004902, allocations: 4.375 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-06/0.004907, allocations: 384 / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.00507, allocations: 122.9 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005077, allocations: 0 / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.005084, allocations: 11.88 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005089, allocations: 0 / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.005106, allocations: 7.984 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.00527, allocations: 158 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.998e-05/0.00533, allocations: 63.78 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.00535, allocations: 18.64 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.005364, allocations: 4 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.005386, allocations: 38.5 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.005387, allocations: 0 / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001252/0.005512, allocations: 61.55 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.005561, allocations: 106.8 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.501e-05/0.005637, allocations: 142 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.005646, allocations: 25.7 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.005676, allocations: 88.12 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.00569, allocations: 4.328 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.005715, allocations: 17.72 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.005801, allocations: 318.8 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-06/0.005808, allocations: 0 / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-06/0.005815, allocations: 0 / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/0.005838, allocations: 12.84 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005839, allocations: 0 / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.721e-05/0.005887, allocations: 37.58 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.005899, allocations: 8 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005904, allocations: 0 / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.005913, allocations: 96 / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.983e-05/0.005953, allocations: 7.984 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.005955, allocations: 4 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/0.00597, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.005974, allocations: 0 / 277.7 MB, free: 12.8 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 5.551e-05/0.006029, allocations: 116.7 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.006075, allocations: 45.56 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.006101, allocations: 15.95 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006103, allocations: 0 / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.006106, allocations: 4 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006108, allocations: 4.062 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.694e-05/0.006195, allocations: 77.81 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006197, allocations: 3.938 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.006223, allocations: 8 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.006227, allocations: 7.938 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.006232, allocations: 4 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.006234, allocations: 3.984 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006236, allocations: 0 / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.499e-05/0.006311, allocations: 153.2 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.006336, allocations: 11.91 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.006346, allocations: 11.97 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.006379, allocations: 3.984 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.006404, allocations: 3.984 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.00641, allocations: 4 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.382e-05/0.006434, allocations: 28.83 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006434, allocations: 0 / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001215/0.006555, allocations: 8 kB / 278.2 MB, free: 12.23 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 6.984e-05/0.006625, allocations: 76.42 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.433e-05/0.00668, allocations: 20.78 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.006682, allocations: 0 / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.006694, allocations: 8.859 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.006896, allocations: 32.73 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.00729, allocations: 187.9 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.764e-05/0.007327, allocations: 59.34 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.569e-05/0.007353, allocations: 8.312 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.007413, allocations: 63.34 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.007413, allocations: 0 / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of Templates: time 0.002268/0.009681, allocations: 0.7285 MB / 279.4 MB, free: 11.01 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.5354704367928207]