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.0008824/0.0008827, allocations: 91.64 kB / 17.31 MB, free: 6.531 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.001122/0.001122, allocations: 176 kB / 18.21 MB, free: 5.684 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.288/1.288, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.0002271, allocations: 7.938 kB / 302.1 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07242/0.07267, allocations: 50.41 MB / 352.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001485/0.07417, allocations: 1.292 MB / 353.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006778/0.07486, allocations: 478.8 kB / 354.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.07494, allocations: 11.94 kB / 354.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.07497, allocations: 0 / 354.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.07508, allocations: 11.91 kB / 354.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.07532, allocations: 47.84 kB / 354.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.07541, allocations: 47.78 kB / 354.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.102e-05/0.0755, allocations: 12.19 kB / 354.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.418e-05/0.07557, allocations: 23.84 kB / 354.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.07562, allocations: 23.88 kB / 354.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.07564, allocations: 0 / 354.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.07566, allocations: 0 / 354.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.0757, allocations: 11.92 kB / 354.4 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.07575, allocations: 53.52 kB / 354.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.226e-05/0.07582, allocations: 31.92 kB / 354.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.07583, allocations: 3.938 kB / 354.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.07583, allocations: 0 / 354.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.274e-06/0.07584, allocations: 0 / 354.5 MB, free: 1.641 MB / 286.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.0003665/0.07621, allocations: 379.5 kB / 354.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.07625, allocations: 12.03 kB / 354.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.07629, allocations: 8.844 kB / 354.9 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.07645, allocations: 192.1 kB / 355.1 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.07647, allocations: 12.3 kB / 355.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.07649, allocations: 384 / 355.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.07674, allocations: 130 kB / 355.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.07675, allocations: 0 / 355.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.07677, allocations: 0 / 355.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.07678, allocations: 0 / 355.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.07687, allocations: 23.98 kB / 355.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.07715, allocations: 278.5 kB / 355.5 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.07727, allocations: 67.78 kB / 355.6 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.672e-05/0.07734, allocations: 34.64 kB / 355.6 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.07737, allocations: 7.984 kB / 355.6 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.07739, allocations: 34.56 kB / 355.7 MB, free: 284 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.0774, allocations: 0 / 355.7 MB, free: 284 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002635/0.07767, allocations: 93.64 kB / 355.8 MB, free: 184 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.07773, allocations: 102.8 kB / 355.9 MB, free: 56 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.07785, allocations: 148.2 kB / 356 MB, free: 15.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.07787, allocations: 25.7 kB / 356 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.07792, allocations: 92.08 kB / 356.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.07794, allocations: 8.094 kB / 356.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.07797, allocations: 13.72 kB / 356.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.07806, allocations: 322.8 kB / 356.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.07812, allocations: 8 kB / 356.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.387e-05/0.07818, allocations: 43.41 kB / 356.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.632e-05/0.07828, allocations: 51.36 kB / 356.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.07829, allocations: 0 / 356.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.07844, allocations: 77.55 kB / 356.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.07847, allocations: 4 kB / 356.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.07848, allocations: 7.938 kB / 356.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.07849, allocations: 4 kB / 356.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.07857, allocations: 11.98 kB / 356.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.07859, allocations: 4 kB / 356.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.07864, allocations: 7.906 kB / 356.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.07865, allocations: 4.125 kB / 356.7 MB, free: 15.18 MB / 302.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 7.095e-05/0.07873, allocations: 121.8 kB / 356.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.07881, allocations: 53.62 kB / 356.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.07885, allocations: 19.8 kB / 356.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.07886, allocations: 0 / 356.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.07887, allocations: 0 / 356.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.07887, allocations: 0 / 356.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.07904, allocations: 177.5 kB / 357.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.07904, allocations: 0 / 357.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.07911, allocations: 16.05 kB / 357.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.07913, allocations: 4 kB / 357.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.07914, allocations: 0 / 357.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.07915, allocations: 3.938 kB / 357.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.07915, allocations: 0 / 357.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.07934, allocations: 185.1 kB / 357.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.0794, allocations: 93 kB / 357.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.07942, allocations: 0 / 357.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.0795, allocations: 4 kB / 357.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.07953, allocations: 3.984 kB / 357.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.07954, allocations: 4 kB / 357.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.783e-05/0.07961, allocations: 110 kB / 357.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07962, allocations: 0 / 357.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.07986, allocations: 12 kB / 357.5 MB, free: 14.28 MB / 302.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 6.673e-05/0.07993, allocations: 107.1 kB / 357.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.08007, allocations: 35.92 kB / 357.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.08009, allocations: 0 / 357.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.08013, allocations: 12.25 kB / 357.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.08048, allocations: 27.95 kB / 357.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.08082, allocations: 250.9 kB / 357.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.08104, allocations: 0.6926 MB / 358.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.08108, allocations: 11.44 kB / 358.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.08108, allocations: 0 / 358.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Templates: time 0.001968/0.08306, allocations: 0.8183 MB / 359.4 MB, free: 12.26 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/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