Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001295/0.001295, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001305/0.001305, allocations: 160.2 kB / 24.91 MB, free: 8.262 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.075/1.075, allocations: 177 MB / 205.2 MB, free: 5.457 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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.45e-05, allocations: 2.312 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002997/0.003021, allocations: 1.682 MB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.004138, allocations: 0.5529 MB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.004246, allocations: 3.938 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.984e-05/0.004306, allocations: 11.92 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.004478, allocations: 11.88 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.004797, allocations: 67.61 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.004914, allocations: 43.86 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.005008, allocations: 16.16 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.005151, allocations: 39.91 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.005203, allocations: 15.88 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.005223, allocations: 7.984 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.167e-05/0.005285, allocations: 7.984 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.00533, allocations: 11.94 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.005352, allocations: 11.94 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.005496, allocations: 51.81 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.005498, allocations: 0 / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005499, allocations: 0 / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.005504, allocations: 0 / 276 MB, free: 14.62 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.000353/0.005857, allocations: 280.6 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.005894, allocations: 15.98 kB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.006008, allocations: 16.92 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.006199, allocations: 154 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.006209, allocations: 384 / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.006218, allocations: 8.359 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.006411, allocations: 114.9 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.006422, allocations: 4 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.006431, allocations: 4 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.006439, allocations: 0 / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.006461, allocations: 11.94 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.00668, allocations: 154 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.006753, allocations: 59.8 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.006813, allocations: 22.62 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.006832, allocations: 8 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.006864, allocations: 38.44 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.006865, allocations: 0 / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001331/0.006998, allocations: 53.62 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.00706, allocations: 106.8 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.007163, allocations: 150 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.007175, allocations: 25.7 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.007213, allocations: 80.14 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.00723, allocations: 8.328 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.007264, allocations: 17.7 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.007377, allocations: 318.8 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.007388, allocations: 3.938 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.007396, allocations: 0 / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.007423, allocations: 8.859 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.007425, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.669e-05/0.007482, allocations: 41.62 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.007494, allocations: 4 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007499, allocations: 0 / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.007513, allocations: 96 / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.007573, allocations: 8 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.007576, allocations: 3.938 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.007594, allocations: 3.984 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.0076, allocations: 0 / 277.7 MB, free: 12.72 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.667e-05/0.007666, allocations: 120.6 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.007717, allocations: 41.62 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.007743, allocations: 11.97 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.007747, allocations: 4 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.007749, allocations: 0 / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.007753, allocations: 4.062 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.007878, allocations: 81.8 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.007881, allocations: 4 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/0.007919, allocations: 11.92 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.007924, allocations: 7.938 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.007929, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00793, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007931, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.826e-05/0.008029, allocations: 145.2 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.008069, allocations: 23.89 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.008084, allocations: 11.97 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.008133, allocations: 0 / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.008166, allocations: 7.938 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.008169, allocations: 0 / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.674e-05/0.008206, allocations: 32.83 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008206, allocations: 0 / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.008393, allocations: 7.984 kB / 278.2 MB, free: 12.16 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 8.611e-05/0.008479, allocations: 80.05 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.008551, allocations: 12.86 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.008556, allocations: 4 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.008572, allocations: 8.797 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.008829, allocations: 24.8 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.009328, allocations: 199.8 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.467e-05/0.009382, allocations: 59.34 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.839e-05/0.009411, allocations: 8.312 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.009479, allocations: 59.36 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.00948, allocations: 0 / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Templates: time 0.002888/0.01237, allocations: 0.715 MB / 279.3 MB, free: 10.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.953518436755985]