Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.585/1.585, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 68.02 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3688, allocations: 53.32 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003283/0.3721, allocations: 1.586 MB / 433.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3732, allocations: 0.5648 MB / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.3733, allocations: 0 / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.777e-05/0.3734, allocations: 7.938 kB / 434.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.3735, allocations: 23.84 kB / 434.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.3738, allocations: 51.83 kB / 434.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3739, allocations: 51.84 kB / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.374, allocations: 8.188 kB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.3742, allocations: 35.78 kB / 434.4 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.3742, allocations: 19.86 kB / 434.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3743, allocations: 4 kB / 434.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.333e-05/0.3743, allocations: 8 kB / 434.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.3743, allocations: 15.92 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.3744, allocations: 27.81 kB / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.3745, allocations: 61.64 kB / 434.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3745, allocations: 4 kB / 434.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3746, allocations: 0 / 434.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3746, allocations: 4 kB / 434.5 MB, free: 4.906 MB / 334.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.0005573/0.3751, allocations: 387 kB / 434.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3752, allocations: 12.03 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.3753, allocations: 16.88 kB / 434.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.3756, allocations: 196.8 kB / 435.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3756, allocations: 4.375 kB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.3756, allocations: 7.875 kB / 435.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.3759, allocations: 117 kB / 435.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3759, allocations: 0 / 435.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3759, allocations: 4 kB / 435.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3759, allocations: 0 / 435.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.376, allocations: 19.92 kB / 435.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.3764, allocations: 273.6 kB / 435.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.3765, allocations: 45.16 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.3766, allocations: 25.77 kB / 435.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3766, allocations: 0 / 435.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3766, allocations: 30.56 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3766, allocations: 0 / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000249/0.3769, allocations: 73.78 kB / 435.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.3769, allocations: 77.11 kB / 435.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3771, allocations: 153.7 kB / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3771, allocations: 25.7 kB / 435.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.3772, allocations: 88.14 kB / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.3772, allocations: 3.953 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3772, allocations: 21.7 kB / 436 MB, free: 3.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3774, allocations: 314.9 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.3774, allocations: 8 kB / 436.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/0.3775, allocations: 25.64 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.438e-05/0.3775, allocations: 29.7 kB / 436.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3775, allocations: 0 / 436.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001213/0.3777, allocations: 61.64 kB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3777, allocations: 4 kB / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3777, allocations: 0 / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3777, allocations: 4 kB / 436.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.3778, allocations: 7.984 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3778, allocations: 0 / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.3778, allocations: 3.938 kB / 436.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3778, allocations: 4 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001042/0.3779, allocations: 121.9 kB / 436.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.378, allocations: 37.66 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.378, allocations: 11.81 kB / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.378, allocations: 7.984 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.378, allocations: 0 / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.378, allocations: 3.938 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.3782, allocations: 173.6 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3782, allocations: 0 / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.3783, allocations: 4 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3783, allocations: 4.031 kB / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.3783, allocations: 7.875 kB / 436.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3783, allocations: 4 kB / 436.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3783, allocations: 0 / 436.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.3785, allocations: 160.3 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.3786, allocations: 97.05 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3786, allocations: 4.031 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.3786, allocations: 0 / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3787, allocations: 19.86 kB / 437.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3787, allocations: 0 / 437.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.959e-05/0.3788, allocations: 109.5 kB / 437.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3788, allocations: 0 / 437.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.379, allocations: 4 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001055/0.3791, allocations: 99.23 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.3792, allocations: 23.98 kB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3792, allocations: 0 / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.3793, allocations: 7.938 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3796, allocations: 22.83 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.38, allocations: 171.6 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3803, allocations: 0.6924 MB / 438.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.377e-05/0.3803, allocations: 4 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.3803, allocations: 15.44 kB / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3803, allocations: 0 / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of Templates: time 0.002873/0.3832, allocations: 0.5875 MB / 438.9 MB, free: 112 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.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.799496246967465]