Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 112 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 192 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 241.7 MB, free: 15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 55.91 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4682, allocations: 49.42 MB / 400.7 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003093/0.4713, allocations: 1.582 MB / 402.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.4723, allocations: 498.6 kB / 402.8 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.4724, allocations: 4 kB / 402.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.4725, allocations: 3.938 kB / 402.8 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.4726, allocations: 15.86 kB / 402.8 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.4729, allocations: 51.81 kB / 402.9 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.473, allocations: 43.8 kB / 402.9 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.4732, allocations: 20.17 kB / 402.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.4733, allocations: 15.94 kB / 402.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.4733, allocations: 27.84 kB / 403 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.4734, allocations: 4 kB / 403 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.4734, allocations: 0 / 403 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.4734, allocations: 15.92 kB / 403 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.4735, allocations: 27.81 kB / 403 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.4736, allocations: 59.67 kB / 403.1 MB, free: 6.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4736, allocations: 4 kB / 403.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4736, allocations: 0 / 403.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4737, allocations: 0 / 403.1 MB, free: 6.672 MB / 318.1 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.0005389/0.4742, allocations: 375.4 kB / 403.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4743, allocations: 19.83 kB / 403.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.4743, allocations: 8.844 kB / 403.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.4746, allocations: 196.1 kB / 403.7 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4746, allocations: 384 / 403.7 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.4747, allocations: 8.375 kB / 403.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.475, allocations: 126 kB / 403.8 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.475, allocations: 3.938 kB / 403.8 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.475, allocations: 0 / 403.8 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.475, allocations: 0 / 403.8 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.4751, allocations: 23.92 kB / 403.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.4755, allocations: 282.5 kB / 404.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.4756, allocations: 67.78 kB / 404.2 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.4757, allocations: 38.61 kB / 404.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.4757, allocations: 0 / 404.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4758, allocations: 34.56 kB / 404.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4758, allocations: 0 / 404.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000282/0.4761, allocations: 93.64 kB / 404.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.4761, allocations: 106.8 kB / 404.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4763, allocations: 141.8 kB / 404.6 MB, free: 4.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4763, allocations: 29.7 kB / 404.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.4763, allocations: 92.03 kB / 404.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.4764, allocations: 4 kB / 404.7 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.4764, allocations: 17.91 kB / 404.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4765, allocations: 322.8 kB / 405 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.4766, allocations: 12 kB / 405 MB, free: 4.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.4766, allocations: 31.42 kB / 405.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.211e-05/0.4767, allocations: 55.36 kB / 405.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4767, allocations: 0 / 405.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001275/0.4769, allocations: 73.45 kB / 405.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4769, allocations: 4 kB / 405.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4769, allocations: 4 kB / 405.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4769, allocations: 0 / 405.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.477, allocations: 12.12 kB / 405.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.477, allocations: 0 / 405.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.4771, allocations: 11.98 kB / 405.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4771, allocations: 0 / 405.2 MB, free: 4.223 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 9.186e-05/0.4772, allocations: 129.7 kB / 405.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.4773, allocations: 53.53 kB / 405.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.4773, allocations: 11.88 kB / 405.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4773, allocations: 0 / 405.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.4773, allocations: 4.062 kB / 405.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4773, allocations: 4 kB / 405.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.4775, allocations: 181.5 kB / 405.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4775, allocations: 4 kB / 405.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.4776, allocations: 4 kB / 405.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4776, allocations: 7.938 kB / 405.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4776, allocations: 0 / 405.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4776, allocations: 3.984 kB / 405.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4776, allocations: 4 kB / 405.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.4778, allocations: 181 kB / 405.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.4779, allocations: 93 kB / 405.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.4779, allocations: 0 / 405.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.478, allocations: 4 kB / 405.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.478, allocations: 0 / 405.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.478, allocations: 8 kB / 405.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.262e-05/0.4781, allocations: 113.8 kB / 406 MB, free: 3.324 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4781, allocations: 0 / 406 MB, free: 3.324 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.4784, allocations: 8 kB / 406 MB, free: 3.316 MB / 318.1 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 0.0001404/0.4785, allocations: 95.25 kB / 406.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.4787, allocations: 43.91 kB / 406.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4787, allocations: 256 / 406.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.4787, allocations: 11.94 kB / 406.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.4791, allocations: 31.95 kB / 406.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.4795, allocations: 168.6 kB / 406.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.4798, allocations: 0.7039 MB / 407.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.4799, allocations: 4.25 kB / 407.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.4799, allocations: 11.44 kB / 407.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4799, allocations: 0 / 407.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of Templates: time 0.003218/0.4831, allocations: 0.643 MB / 407.7 MB, free: 1.551 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches