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.002047/0.002047, allocations: 79.97 kB / 20.67 MB, free: 1.035 MB / 14.72 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.002898/0.002898, allocations: 150.4 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.452/1.452, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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 2.816e-06/2.816e-06, allocations: 0.5625 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.82e-05, allocations: 5.094 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002887/0.002915, allocations: 1.569 MB / 320.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009201/0.003835, allocations: 481.1 kB / 321 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.003933, allocations: 2.281 kB / 321 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.656e-05/0.003979, allocations: 9.094 kB / 321 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.004112, allocations: 7.953 kB / 321 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.004406, allocations: 57.53 kB / 321 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.004541, allocations: 51.47 kB / 321.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.004649, allocations: 15.92 kB / 321.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.00477, allocations: 24.31 kB / 321.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.004832, allocations: 22.28 kB / 321.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.004869, allocations: 3.25 kB / 321.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.79e-05/0.004887, allocations: 3.656 kB / 321.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.004948, allocations: 13.91 kB / 321.2 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.004986, allocations: 15.3 kB / 321.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.005139, allocations: 50.61 kB / 321.2 MB, free: 2.039 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.005143, allocations: 5.062 kB / 321.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005144, allocations: 3.938 kB / 321.3 MB, free: 2.031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005149, allocations: 0 / 321.3 MB, free: 2.031 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.0004437/0.005593, allocations: 306.2 kB / 321.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.005636, allocations: 8.719 kB / 321.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.005677, allocations: 9.359 kB / 321.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.005924, allocations: 153.7 kB / 321.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.005939, allocations: 1.562 kB / 321.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.005958, allocations: 7.781 kB / 321.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.006254, allocations: 114.1 kB / 321.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.006266, allocations: 192 / 321.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.006277, allocations: 5.156 kB / 321.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.006283, allocations: 1.438 kB / 321.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.093e-05/0.006374, allocations: 21.77 kB / 321.9 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.006662, allocations: 216.8 kB / 322.1 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.006768, allocations: 74.62 kB / 322.2 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.006828, allocations: 34.53 kB / 322.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.006853, allocations: 1.312 kB / 322.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.006876, allocations: 38.22 kB / 322.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.006877, allocations: 0 / 322.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000271/0.007148, allocations: 85.53 kB / 322.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.007184, allocations: 113.7 kB / 322.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.007287, allocations: 139.5 kB / 322.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.007295, allocations: 26.67 kB / 322.6 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.007325, allocations: 88.3 kB / 322.7 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.007338, allocations: 8.938 kB / 322.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.007368, allocations: 12.81 kB / 322.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.007409, allocations: 313.9 kB / 323 MB, free: 352 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.00745, allocations: 11.38 kB / 323 MB, free: 348 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.007479, allocations: 6.109 kB / 323 MB, free: 348 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.007547, allocations: 29.7 kB / 323 MB, free: 328 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.007549, allocations: 0 / 323 MB, free: 328 kB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001025/0.007651, allocations: 51.7 kB / 323.1 MB, free: 288 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.007664, allocations: 6.703 kB / 323.1 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007668, allocations: 0 / 323.1 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.007683, allocations: 0 / 323.1 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.007747, allocations: 4.781 kB / 323.1 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.007752, allocations: 1.344 kB / 323.1 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.007785, allocations: 10.08 kB / 323.1 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.007791, allocations: 1.438 kB / 323.1 MB, free: 280 kB / 286.1 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 5.362e-05/0.007845, allocations: 116.5 kB / 323.2 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.007915, allocations: 56.78 kB / 323.3 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.007944, allocations: 13.62 kB / 323.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.007947, allocations: 6.016 kB / 323.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.007952, allocations: 1.125 kB / 323.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007956, allocations: 1.188 kB / 323.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.008111, allocations: 118 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008113, allocations: 4.062 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.008175, allocations: 13.48 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.008178, allocations: 1.219 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.008189, allocations: 6.016 kB / 323.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.008202, allocations: 9.422 kB / 323.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.008203, allocations: 1.375 kB / 323.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.008461, allocations: 171.9 kB / 323.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.008503, allocations: 20.8 kB / 323.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.008521, allocations: 8.016 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.008591, allocations: 0.7031 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.008628, allocations: 8.609 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.008634, allocations: 0.6094 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.439e-05/0.008718, allocations: 111.7 kB / 323.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008718, allocations: 0 / 323.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.00894, allocations: 8.25 kB / 323.8 MB, free: 15.68 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 0.0001081/0.009048, allocations: 99.67 kB / 323.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.009181, allocations: 22.81 kB / 323.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.009183, allocations: 1.188 kB / 323.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.906e-05/0.009222, allocations: 11.84 kB / 323.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.00958, allocations: 28.09 kB / 323.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.009957, allocations: 174 kB / 324.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.253e-05/0.01004, allocations: 75.8 kB / 324.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.01007, allocations: 1.984 kB / 324.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.0101, allocations: 15.81 kB / 324.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.0101, allocations: 0 / 324.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Templates: time 0.003361/0.01347, allocations: 0.6833 MB / 324.9 MB, free: 15.23 MB / 302.1 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: 4.386005558073521]