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.001436/0.001436, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.001484/0.001484, allocations: 149.5 kB / 24.26 MB, free: 156 kB / 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 1.536/1.536, allocations: 173.4 MB / 200.8 MB, free: 9.289 MB / 186.7 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.515e-06/2.515e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.76e-05, allocations: 2.312 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.004319/0.004356, allocations: 1.589 MB / 268.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.005879, allocations: 478.4 kB / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.005982, allocations: 0 / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.202e-05/0.006044, allocations: 11.88 kB / 269.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.006214, allocations: 15.86 kB / 269.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.006568, allocations: 51.75 kB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.006709, allocations: 43.86 kB / 269.5 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.006818, allocations: 12.17 kB / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.006948, allocations: 31.84 kB / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.007019, allocations: 19.92 kB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.007039, allocations: 0 / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.007056, allocations: 4 kB / 269.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.168e-05/0.007117, allocations: 15.92 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.00716, allocations: 12 kB / 269.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.007335, allocations: 55.73 kB / 269.7 MB, free: 4.348 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.007338, allocations: 4 kB / 269.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007339, allocations: 0 / 269.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.007343, allocations: 0 / 269.7 MB, free: 4.344 MB / 250.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.0006372/0.007981, allocations: 306 kB / 270 MB, free: 4.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.008038, allocations: 12.03 kB / 270 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.008102, allocations: 12.84 kB / 270 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.008385, allocations: 148.6 kB / 270.1 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.008399, allocations: 4.375 kB / 270.1 MB, free: 3.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.00841, allocations: 4.375 kB / 270.1 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.008713, allocations: 114.5 kB / 270.3 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.008721, allocations: 192 / 270.3 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.008736, allocations: 8.125 kB / 270.3 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.00874, allocations: 3.938 kB / 270.3 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.5e-05/0.008835, allocations: 23.92 kB / 270.3 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.009179, allocations: 214.3 kB / 270.5 MB, free: 3.402 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.009313, allocations: 67.78 kB / 270.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.009385, allocations: 30.64 kB / 270.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.009409, allocations: 3.984 kB / 270.6 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.009452, allocations: 42.44 kB / 270.6 MB, free: 3.215 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.009453, allocations: 0 / 270.6 MB, free: 3.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002997/0.009753, allocations: 85.91 kB / 270.7 MB, free: 3.125 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.009842, allocations: 110.8 kB / 270.8 MB, free: 2.992 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.01001, allocations: 137.8 kB / 271 MB, free: 2.848 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.01003, allocations: 25.7 kB / 271 MB, free: 2.816 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.0101, allocations: 92.14 kB / 271.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.01012, allocations: 11.83 kB / 271.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.01015, allocations: 13.72 kB / 271.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.01033, allocations: 318.8 kB / 271.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.14e-05/0.01037, allocations: 4 kB / 271.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.0104, allocations: 7.984 kB / 271.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.139e-05/0.01047, allocations: 28.91 kB / 271.5 MB, free: 2.328 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01047, allocations: 0 / 271.5 MB, free: 2.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001245/0.0106, allocations: 53.58 kB / 271.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.01062, allocations: 8 kB / 271.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.01062, allocations: 0 / 271.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.01063, allocations: 0 / 271.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.0107, allocations: 7.938 kB / 271.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.01071, allocations: 0 / 271.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.01074, allocations: 8.016 kB / 271.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.01075, allocations: 0 / 271.5 MB, free: 2.246 MB / 250.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 0.0001112/0.01086, allocations: 117.8 kB / 271.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.01096, allocations: 53.58 kB / 271.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.01099, allocations: 15.92 kB / 271.7 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01099, allocations: 0 / 271.7 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.011, allocations: 7.938 kB / 271.7 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.011, allocations: 0 / 271.7 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.01118, allocations: 117.3 kB / 271.8 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.01118, allocations: 4 kB / 271.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.01125, allocations: 16 kB / 271.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01125, allocations: 0 / 271.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01126, allocations: 7.922 kB / 271.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01126, allocations: 0 / 271.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01127, allocations: 4 kB / 271.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.0115, allocations: 181.1 kB / 272 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.01154, allocations: 15.94 kB / 272.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.01157, allocations: 15.92 kB / 272.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.01164, allocations: 0 / 272.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.01168, allocations: 8 kB / 272.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.01168, allocations: 0 / 272.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.01179, allocations: 110.2 kB / 272.2 MB, free: 1.516 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01179, allocations: 4 kB / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.01201, allocations: 4 kB / 272.2 MB, free: 1.508 MB / 250.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 0.0001155/0.01213, allocations: 95.25 kB / 272.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.01226, allocations: 23.92 kB / 272.3 MB, free: 1.383 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01226, allocations: 0 / 272.3 MB, free: 1.383 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.01231, allocations: 20.05 kB / 272.3 MB, free: 1.363 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.01268, allocations: 23.83 kB / 272.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.01309, allocations: 196.3 kB / 272.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.062e-05/0.01318, allocations: 71.33 kB / 272.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.961e-05/0.01321, allocations: 4 kB / 272.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.01325, allocations: 16.73 kB / 272.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01325, allocations: 4 kB / 272.6 MB, free: 1.008 MB / 250.7 MB Notification: Performance of Templates: time 0.003265/0.01651, allocations: 0.6772 MB / 273.3 MB, free: 348 kB / 250.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: 4.270973136997782]