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.001027/0.001027, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002466, allocations: 449.7 kB / 10.37 MB, free: 324 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.001023/0.001023, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009308/0.001954, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9246/0.9246, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08719/1.012, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.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.893e-06/1.893e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.323e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001861/0.001875, allocations: 1.7 MB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005965/0.002471, allocations: 0.5529 MB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.002535, allocations: 4 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/0.002568, allocations: 7.875 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.002632, allocations: 19.84 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.002815, allocations: 55.75 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.128e-05/0.002907, allocations: 47.8 kB / 247.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.00298, allocations: 12.17 kB / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.00309, allocations: 43.84 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.003138, allocations: 19.91 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.003153, allocations: 4 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.003203, allocations: 8 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.003236, allocations: 11.92 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.003254, allocations: 15.94 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.918e-05/0.003353, allocations: 43.78 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.003365, allocations: 0 / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.003367, allocations: 4 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.003378, allocations: 0 / 247.6 MB, free: 11.08 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003512/0.003729, allocations: 304.2 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.003757, allocations: 12.03 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.003892, allocations: 90.03 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.004049, allocations: 142.2 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.004059, allocations: 4.375 kB / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.004068, allocations: 384 / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.004269, allocations: 126.9 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004277, allocations: 3.984 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.004285, allocations: 7.938 kB / 248.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.004288, allocations: 0 / 248.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.004306, allocations: 4 kB / 248.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.004475, allocations: 161.9 kB / 248.4 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.004537, allocations: 59.8 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.004558, allocations: 18.64 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.004577, allocations: 4 kB / 248.5 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.0046, allocations: 42.48 kB / 248.5 MB, free: 9.961 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004601, allocations: 0 / 248.5 MB, free: 9.961 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000111/0.004712, allocations: 57.56 kB / 248.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.00477, allocations: 106.8 kB / 248.7 MB, free: 9.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.004851, allocations: 138 kB / 248.8 MB, free: 9.625 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.004862, allocations: 29.7 kB / 248.8 MB, free: 9.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.004899, allocations: 92.11 kB / 248.9 MB, free: 9.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.004912, allocations: 4.328 kB / 248.9 MB, free: 9.492 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.004934, allocations: 17.72 kB / 249 MB, free: 9.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.005014, allocations: 318.8 kB / 249.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/0.005021, allocations: 4 kB / 249.3 MB, free: 9.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/0.005027, allocations: 0 / 249.3 MB, free: 9.145 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/0.005047, allocations: 16.78 kB / 249.3 MB, free: 9.125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.00505, allocations: 0 / 249.3 MB, free: 9.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.871e-05/0.005089, allocations: 41.56 kB / 249.3 MB, free: 9.078 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.0051, allocations: 8 kB / 249.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005104, allocations: 0 / 249.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.005112, allocations: 4.094 kB / 249.3 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.00516, allocations: 4 kB / 249.3 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005162, allocations: 0 / 249.3 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.005176, allocations: 0 / 249.3 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.005183, allocations: 3.984 kB / 249.4 MB, free: 9.059 MB / 250.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.392e-05/0.005237, allocations: 120.7 kB / 249.5 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.005271, allocations: 45.56 kB / 249.5 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.005294, allocations: 11.97 kB / 249.5 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.005295, allocations: 0 / 249.5 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.005299, allocations: 8.062 kB / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005301, allocations: 0 / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.928e-05/0.00538, allocations: 73.88 kB / 249.6 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.005381, allocations: 0 / 249.6 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.005408, allocations: 11.98 kB / 249.6 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.005433, allocations: 19.84 kB / 249.6 MB, free: 8.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005434, allocations: 0 / 249.6 MB, free: 8.738 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-06/0.005437, allocations: 0 / 249.6 MB, free: 8.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.00544, allocations: 7.984 kB / 249.6 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.005442, allocations: 3.938 kB / 249.6 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.595e-05/0.005508, allocations: 141.3 kB / 249.8 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.005521, allocations: 11.92 kB / 249.8 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.883e-05/0.00555, allocations: 0 / 249.8 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.005571, allocations: 4 kB / 249.8 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.005573, allocations: 0 / 249.8 MB, free: 8.551 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.09e-05/0.005594, allocations: 28.83 kB / 249.8 MB, free: 8.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005594, allocations: 0 / 249.8 MB, free: 8.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001109/0.005705, allocations: 8 kB / 249.8 MB, free: 8.512 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: 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.165e-05/0.005767, allocations: 80.41 kB / 249.9 MB, free: 8.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.108e-05/0.005818, allocations: 16.83 kB / 249.9 MB, free: 8.402 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.005822, allocations: 4 kB / 249.9 MB, free: 8.398 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.005832, allocations: 4.859 kB / 249.9 MB, free: 8.391 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.006015, allocations: 43.94 kB / 250 MB, free: 8.348 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.006653, allocations: 191.7 kB / 250.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.902e-05/0.006692, allocations: 63.34 kB / 250.2 MB, free: 8.047 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.425e-05/0.006716, allocations: 4.312 kB / 250.2 MB, free: 8.043 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.006772, allocations: 59.36 kB / 250.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.006773, allocations: 0 / 250.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of Templates: time 0.002038/0.008811, allocations: 0.7437 MB / 251 MB, free: 7.258 MB / 250.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 -emit_protected -ignoreHideResult -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.3470179364085197]