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.0009635/0.0009635, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001102/0.001102, allocations: 170 kB / 24.82 MB, free: 9.254 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 0.9614/0.9614, allocations: 177 MB / 205.1 MB, free: 5.496 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.683e-06/1.683e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.215e-05, allocations: 6.312 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002162/0.002185, allocations: 1.641 MB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007735/0.002958, allocations: 0.5453 MB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.003032, allocations: 0 / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.914e-05/0.003081, allocations: 11.86 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.003198, allocations: 11.88 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.003452, allocations: 59.69 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.579e-05/0.003538, allocations: 51.78 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.775e-05/0.003616, allocations: 12.17 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.00373, allocations: 35.91 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.003771, allocations: 19.92 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.003785, allocations: 4 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.309e-05/0.003818, allocations: 7.984 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.00385, allocations: 11.94 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.00387, allocations: 15.94 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.003977, allocations: 51.8 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003979, allocations: 0 / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00398, allocations: 3.938 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.003984, allocations: 0 / 275.8 MB, free: 14.74 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.0003348/0.004318, allocations: 400.2 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.004362, allocations: 15.98 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.004483, allocations: 28.81 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.00465, allocations: 153 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.004661, allocations: 4.359 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.004667, allocations: 4.375 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.004848, allocations: 121.1 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.004855, allocations: 8 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.004861, allocations: 0 / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.004867, allocations: 0 / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.004888, allocations: 15.92 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.005116, allocations: 263.7 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.816e-05/0.005185, allocations: 77.25 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.005213, allocations: 35.12 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.005236, allocations: 11.92 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.005258, allocations: 41.38 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005259, allocations: 0 / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001453/0.005405, allocations: 61.58 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.005455, allocations: 110.8 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.005564, allocations: 197.2 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.005575, allocations: 29.7 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.005625, allocations: 134.9 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.005637, allocations: 0 / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.00567, allocations: 23.7 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.005804, allocations: 0.4962 MB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.005813, allocations: 0 / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.005822, allocations: 4 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/0.005845, allocations: 11.69 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.00585, allocations: 3.938 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.025e-05/0.00591, allocations: 37.64 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.005924, allocations: 11.94 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.005928, allocations: 0 / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.005939, allocations: 0 / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.884e-05/0.005988, allocations: 12.08 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.00599, allocations: 0 / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.006009, allocations: 0 / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.006014, allocations: 0 / 278.1 MB, free: 12.2 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 7.496e-05/0.006089, allocations: 160.5 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.00615, allocations: 53.58 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.006175, allocations: 7.969 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006178, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.00618, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006183, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.006313, allocations: 121.2 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.006314, allocations: 0 / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.00635, allocations: 11.98 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.006354, allocations: 3.938 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.006358, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.00636, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.006363, allocations: 4 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.006467, allocations: 203.2 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.0065, allocations: 27.77 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.006511, allocations: 3.984 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.218e-05/0.006564, allocations: 8.031 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.006584, allocations: 0 / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.006589, allocations: 4 kB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.006645, allocations: 143.2 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006645, allocations: 0 / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.006858, allocations: 4 kB / 278.8 MB, free: 11.39 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.13e-05/0.006939, allocations: 95.25 kB / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.027e-05/0.007, allocations: 19.62 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.007001, allocations: 4.062 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.007016, allocations: 15.67 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.007306, allocations: 32.06 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.007716, allocations: 188.3 kB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.795e-05/0.007764, allocations: 63.34 kB / 279.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.661e-05/0.007791, allocations: 7.938 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.007852, allocations: 82.44 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007853, allocations: 0 / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of Templates: time 0.00246/0.01031, allocations: 0.7522 MB / 280.1 MB, free: 10.08 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: 2.7002889872528613]