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.00147/0.00147, allocations: 115.5 kB / 17.07 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.001297/0.001297, 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.492/1.492, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 55.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4388, allocations: 49.42 MB / 400.7 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003138/0.442, allocations: 1.587 MB / 402.3 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.4432, allocations: 490.7 kB / 402.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.4433, allocations: 7.938 kB / 402.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.813e-05/0.4434, allocations: 3.938 kB / 402.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.4436, allocations: 11.92 kB / 402.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.444, allocations: 51.81 kB / 402.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.4442, allocations: 47.8 kB / 402.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.4443, allocations: 16.17 kB / 402.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.4444, allocations: 23.86 kB / 402.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.4445, allocations: 27.84 kB / 403 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.4445, allocations: 4 kB / 403 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.4445, allocations: 4 kB / 403 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.4446, allocations: 11.94 kB / 403 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.4447, allocations: 27.8 kB / 403 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.4448, allocations: 55.75 kB / 403.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4448, allocations: 4 kB / 403.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4448, allocations: 0 / 403.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.4448, allocations: 3.984 kB / 403.1 MB, free: 6.527 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.0005463/0.4454, allocations: 379.4 kB / 403.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4454, allocations: 11.89 kB / 403.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.4455, allocations: 8.844 kB / 403.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.4458, allocations: 200 kB / 403.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4458, allocations: 8.359 kB / 403.7 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.4458, allocations: 384 / 403.7 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.4461, allocations: 122 kB / 403.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4461, allocations: 0 / 403.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4462, allocations: 0 / 403.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.4462, allocations: 4 kB / 403.8 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.4463, allocations: 31.84 kB / 403.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.4466, allocations: 278.5 kB / 404.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.4468, allocations: 67.78 kB / 404.2 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.837e-05/0.4468, allocations: 34.64 kB / 404.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.4469, allocations: 4 kB / 404.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.4469, allocations: 38.48 kB / 404.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.4469, allocations: 0 / 404.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002763/0.4472, allocations: 81.86 kB / 404.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.4473, allocations: 114.8 kB / 404.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.4474, allocations: 141.8 kB / 404.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.4474, allocations: 25.7 kB / 404.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.4475, allocations: 92.05 kB / 404.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.4475, allocations: 4 kB / 404.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.4476, allocations: 13.72 kB / 404.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4477, allocations: 326.8 kB / 405 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.4477, allocations: 8 kB / 405 MB, free: 4.309 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.484e-05/0.4478, allocations: 39.36 kB / 405.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.075e-05/0.4479, allocations: 51.36 kB / 405.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4479, allocations: 0 / 405.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000128/0.448, allocations: 73.52 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4481, allocations: 8 kB / 405.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4481, allocations: 0 / 405.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4481, allocations: 0 / 405.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.4482, allocations: 11.98 kB / 405.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4482, allocations: 0 / 405.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.931e-05/0.4482, allocations: 12.06 kB / 405.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4483, allocations: 4 kB / 405.2 MB, free: 4.082 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 8.65e-05/0.4483, allocations: 121.7 kB / 405.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.4484, allocations: 49.59 kB / 405.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.4485, allocations: 11.88 kB / 405.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4485, allocations: 7.984 kB / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.4485, allocations: 0 / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4485, allocations: 0 / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.4487, allocations: 181.7 kB / 405.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4487, allocations: 0 / 405.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.4488, allocations: 15.92 kB / 405.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4488, allocations: 0 / 405.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4488, allocations: 3.938 kB / 405.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4488, allocations: 4 kB / 405.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4488, allocations: 0 / 405.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.449, allocations: 181.1 kB / 405.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.4491, allocations: 93 kB / 405.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.4491, allocations: 7.938 kB / 405.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.4491, allocations: 0 / 405.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.4492, allocations: 7.984 kB / 405.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.4492, allocations: 4.078 kB / 405.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.881e-05/0.4493, allocations: 110 kB / 406 MB, free: 3.191 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4493, allocations: 4 kB / 406 MB, free: 3.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.4495, allocations: 4 kB / 406 MB, free: 3.184 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.0001147/0.4496, allocations: 110.4 kB / 406.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.4498, allocations: 35.91 kB / 406.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4498, allocations: 0 / 406.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.4498, allocations: 11.98 kB / 406.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.4502, allocations: 36.22 kB / 406.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.4506, allocations: 176.5 kB / 406.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.4509, allocations: 0.6961 MB / 407.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.4509, allocations: 0 / 407.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.4509, allocations: 19.62 kB / 407.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.451, allocations: 0 / 407.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of Templates: time 0.003451/0.4544, allocations: 0.6419 MB / 407.7 MB, free: 1.406 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