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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008011/0.0008011, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003742/0.003742, allocations: 149.4 kB / 24.68 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8222/0.8222, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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=5019,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=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.688e-05, allocations: 9.594 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001971/0.001998, allocations: 1.574 MB / 321.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006504/0.002648, allocations: 466.7 kB / 321.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.27e-05/0.002731, allocations: 7.938 kB / 321.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.002773, allocations: 3.938 kB / 321.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.002909, allocations: 15.86 kB / 321.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.003172, allocations: 58.58 kB / 321.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.808e-05/0.00327, allocations: 47.8 kB / 321.9 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.003376, allocations: 24.14 kB / 321.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.003459, allocations: 27.92 kB / 321.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.003502, allocations: 7.984 kB / 321.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.003527, allocations: 4 kB / 321.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.003537, allocations: 4 kB / 321.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.003588, allocations: 19.91 kB / 321.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.003611, allocations: 11.94 kB / 322 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.003725, allocations: 51.8 kB / 322 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.003728, allocations: 4 kB / 322 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003729, allocations: 0 / 322 MB, free: 3.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.003733, allocations: 7.938 kB / 322 MB, free: 3.512 MB / 282.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.0003807/0.004114, allocations: 309.9 kB / 322.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.00415, allocations: 8.031 kB / 322.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.004184, allocations: 12.84 kB / 322.3 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.004387, allocations: 141.7 kB / 322.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.004396, allocations: 384 / 322.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.004407, allocations: 4.375 kB / 322.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.004633, allocations: 118.5 kB / 322.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.004642, allocations: 192 / 322.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.004651, allocations: 4.125 kB / 322.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.004656, allocations: 0 / 322.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.004704, allocations: 23.92 kB / 322.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.004955, allocations: 218.3 kB / 322.8 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.79e-05/0.005033, allocations: 71.78 kB / 322.9 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.005071, allocations: 34.58 kB / 322.9 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.005092, allocations: 7.969 kB / 323 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.005111, allocations: 38.5 kB / 323 MB, free: 2.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005112, allocations: 0 / 323 MB, free: 2.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002083/0.00532, allocations: 81.56 kB / 323.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.005375, allocations: 114.8 kB / 323.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.005469, allocations: 140.4 kB / 323.3 MB, free: 2.016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.005479, allocations: 29.7 kB / 323.3 MB, free: 1.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.00552, allocations: 92.14 kB / 323.4 MB, free: 1.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.005533, allocations: 3.953 kB / 323.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.005561, allocations: 13.72 kB / 323.5 MB, free: 1.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.005652, allocations: 318.8 kB / 323.8 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.005678, allocations: 4 kB / 323.8 MB, free: 1.539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.005694, allocations: 11.92 kB / 323.8 MB, free: 1.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.005739, allocations: 24.84 kB / 323.8 MB, free: 1.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.005743, allocations: 4.062 kB / 323.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.405e-05/0.005807, allocations: 57.45 kB / 323.9 MB, free: 1.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.005818, allocations: 8 kB / 323.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005822, allocations: 0 / 323.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.005833, allocations: 0 / 323.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.287e-05/0.005886, allocations: 0 / 323.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.005892, allocations: 4 kB / 323.9 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.00591, allocations: 3.984 kB / 323.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.005916, allocations: 0 / 323.9 MB, free: 1.418 MB / 282.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.599e-05/0.005982, allocations: 121.9 kB / 324 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.006032, allocations: 57.52 kB / 324.1 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.006057, allocations: 11.97 kB / 324.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00606, allocations: 0 / 324.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.006063, allocations: 0 / 324.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006067, allocations: 4 kB / 324.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.006167, allocations: 117.3 kB / 324.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.006169, allocations: 4 kB / 324.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.006206, allocations: 8 kB / 324.2 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.006209, allocations: 4 kB / 324.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.006219, allocations: 11.98 kB / 324.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.006221, allocations: 3.984 kB / 324.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006222, allocations: 0 / 324.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.006335, allocations: 177.1 kB / 324.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.006364, allocations: 15.94 kB / 324.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.006376, allocations: 7.938 kB / 324.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/0.00641, allocations: 0 / 324.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.006436, allocations: 4 kB / 324.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.006439, allocations: 0 / 324.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.009e-05/0.006489, allocations: 122.5 kB / 324.5 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006489, allocations: 0 / 324.5 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.00663, allocations: 4 kB / 324.5 MB, free: 0.6875 MB / 282.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 7.293e-05/0.006703, allocations: 95.25 kB / 324.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.63e-05/0.006799, allocations: 23.92 kB / 324.7 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006801, allocations: 0 / 324.7 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.91e-05/0.00682, allocations: 15.92 kB / 324.7 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.007084, allocations: 28.33 kB / 324.7 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.007373, allocations: 204.1 kB / 324.9 MB, free: 288 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.776e-05/0.007431, allocations: 79.33 kB / 325 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.007459, allocations: 12.48 kB / 325 MB, free: 176 kB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007459, allocations: 0 / 325 MB, free: 176 kB / 282.7 MB Notification: Performance of Templates: time 0.001697/0.009157, allocations: 0.8281 MB / 325.8 MB, free: 15.35 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8205419313162565]