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.001136/0.001136, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001206/0.001206, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.081/1.081, allocations: 177 MB / 204.8 MB, free: 5.578 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.102e-06/1.102e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.064e-05, allocations: 5.266 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001981/0.002002, allocations: 1.642 MB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007623/0.002764, allocations: 0.5452 MB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.002855, allocations: 0 / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.768e-05/0.002913, allocations: 3.938 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.00307, allocations: 15.86 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.00334, allocations: 67.69 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.003433, allocations: 55.72 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.003532, allocations: 8.188 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.003653, allocations: 39.89 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.003701, allocations: 11.92 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.00372, allocations: 4 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.09e-05/0.00376, allocations: 4 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.003805, allocations: 19.91 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.003829, allocations: 15.94 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.003968, allocations: 43.83 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.00397, allocations: 4 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003971, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003975, allocations: 0 / 275.4 MB, free: 14.93 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.0003857/0.004361, allocations: 408.2 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.004398, allocations: 15.98 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.00451, allocations: 16.88 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.004689, allocations: 160.9 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.004697, allocations: 4.375 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.004713, allocations: 12.36 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.004961, allocations: 133 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.004969, allocations: 0 / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.004978, allocations: 0 / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.004986, allocations: 0 / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.372e-05/0.00501, allocations: 11.94 kB / 276.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.005279, allocations: 283.1 kB / 276.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.14e-05/0.005351, allocations: 89.25 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.005382, allocations: 35 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.005404, allocations: 3.984 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.005431, allocations: 41.39 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.005432, allocations: 0 / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001541/0.005586, allocations: 61.58 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.005632, allocations: 111.1 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.005734, allocations: 201.3 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.005743, allocations: 25.7 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.005788, allocations: 138.9 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.005801, allocations: 4 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.005826, allocations: 19.33 kB / 277.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.005939, allocations: 0.4961 MB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.005948, allocations: 0 / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.005955, allocations: 0 / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/0.005978, allocations: 11.69 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.00598, allocations: 0 / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.588e-05/0.006026, allocations: 41.7 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.006039, allocations: 7.125 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.006044, allocations: 3.984 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.00606, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.006124, allocations: 4 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.006129, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.006145, allocations: 4 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.006151, allocations: 0 / 277.7 MB, free: 12.35 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.973e-05/0.006221, allocations: 164.5 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.006274, allocations: 57.61 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.00631, allocations: 11.97 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006312, allocations: 0 / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.006318, allocations: 4 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.006322, allocations: 3.984 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.006429, allocations: 136.5 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.006431, allocations: 8 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.00646, allocations: 7.984 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.006463, allocations: 4 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.00647, allocations: 0 / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006471, allocations: 64 / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006473, allocations: 8 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.00658, allocations: 219.1 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.006607, allocations: 19.94 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006617, allocations: 0 / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.006648, allocations: 4 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.006677, allocations: 0 / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.006681, allocations: 4 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.997e-05/0.006731, allocations: 147.2 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006731, allocations: 0 / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.006869, allocations: 8 kB / 278.5 MB, free: 11.48 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.41e-05/0.006933, allocations: 95.25 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.00701, allocations: 23.61 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007011, allocations: 0 / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.007024, allocations: 11.69 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.007272, allocations: 33.59 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.007704, allocations: 188.7 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.457e-05/0.007748, allocations: 63.34 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.996e-05/0.007768, allocations: 4.031 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.007797, allocations: 16.5 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.007797, allocations: 0 / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of Templates: time 0.002224/0.01002, allocations: 0.6972 MB / 279.6 MB, free: 10.29 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 -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: 3.1092645809985697]