Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 215.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 8.012 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002982/0.002982, allocations: 47.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3579, allocations: 53.36 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.004061/0.362, allocations: 1.593 MB / 433.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.3634, allocations: 0.5648 MB / 433.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.3636, allocations: 0 / 433.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.823e-05/0.3636, allocations: 15.86 kB / 433.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.3638, allocations: 7.938 kB / 433.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.3642, allocations: 63.75 kB / 433.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.3644, allocations: 51.78 kB / 433.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3645, allocations: 12.17 kB / 433.9 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3647, allocations: 23.92 kB / 433.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.997e-05/0.3647, allocations: 31.78 kB / 434 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3648, allocations: 4 kB / 434 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.219e-05/0.3648, allocations: 12 kB / 434 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.3649, allocations: 15.88 kB / 434 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.3649, allocations: 27.8 kB / 434 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.3651, allocations: 64.92 kB / 434.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3651, allocations: 4 kB / 434.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3651, allocations: 0 / 434.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3651, allocations: 0 / 434.1 MB, free: 4.43 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.0005799/0.3657, allocations: 305.9 kB / 434.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3658, allocations: 8.031 kB / 434.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.3659, allocations: 20.88 kB / 434.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.3663, allocations: 149.5 kB / 434.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3663, allocations: 4.375 kB / 434.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.3663, allocations: 7.938 kB / 434.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.3666, allocations: 105 kB / 434.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3666, allocations: 0 / 434.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3667, allocations: 0 / 434.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3667, allocations: 0 / 434.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.3667, allocations: 19.98 kB / 434.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.3671, allocations: 236.8 kB / 434.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.3673, allocations: 49.14 kB / 435 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.3673, allocations: 13.78 kB / 435 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.3673, allocations: 0 / 435 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.3674, allocations: 42.55 kB / 435 MB, free: 3.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3674, allocations: 7.938 kB / 435.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002868/0.3677, allocations: 57.64 kB / 435.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.3677, allocations: 89.03 kB / 435.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3679, allocations: 141.7 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3679, allocations: 29.7 kB / 435.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.368, allocations: 92.12 kB / 435.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.368, allocations: 8.203 kB / 435.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.368, allocations: 17.72 kB / 435.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.3682, allocations: 314.8 kB / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/0.3683, allocations: 11.92 kB / 435.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.3683, allocations: 17.72 kB / 435.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.437e-05/0.3684, allocations: 33.77 kB / 435.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3684, allocations: 0 / 435.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001303/0.3686, allocations: 61.56 kB / 435.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3686, allocations: 8 kB / 435.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3686, allocations: 0 / 435.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3686, allocations: 0 / 435.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.3687, allocations: 7.938 kB / 435.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3687, allocations: 0 / 435.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.3687, allocations: 15.98 kB / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3687, allocations: 3.984 kB / 435.9 MB, free: 2.363 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.0001098/0.3688, allocations: 117.8 kB / 436.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.3689, allocations: 41.64 kB / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.3689, allocations: 15.81 kB / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3689, allocations: 0 / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3689, allocations: 0 / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.369, allocations: 3.938 kB / 436.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.3692, allocations: 140.7 kB / 436.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3692, allocations: 4.031 kB / 436.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/0.3692, allocations: 7.984 kB / 436.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3692, allocations: 4 kB / 436.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3692, allocations: 0 / 436.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3692, allocations: 0 / 436.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3692, allocations: 0 / 436.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.3694, allocations: 164.2 kB / 436.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.3695, allocations: 15.94 kB / 436.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3695, allocations: 4 kB / 436.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.3696, allocations: 3.984 kB / 436.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.3696, allocations: 3.938 kB / 436.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.3696, allocations: 4 kB / 436.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.9e-05/0.3697, allocations: 112.8 kB / 436.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3697, allocations: 0 / 436.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.3699, allocations: 4 kB / 436.6 MB, free: 1.652 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.0001273/0.3701, allocations: 99.28 kB / 436.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.3702, allocations: 23.92 kB / 436.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3702, allocations: 7.938 kB / 436.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.3703, allocations: 7.984 kB / 436.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.3706, allocations: 12.03 kB / 436.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.3711, allocations: 179.8 kB / 436.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3715, allocations: 0.6885 MB / 437.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.675e-05/0.3715, allocations: 3.984 kB / 437.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.3715, allocations: 11.44 kB / 437.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3715, allocations: 3.938 kB / 437.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of Templates: time 0.004283/0.3758, allocations: 0.6043 MB / 438.2 MB, free: 15.96 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.999866157071665]