Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001158, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 102.3 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008413/0.0008415, allocations: 39.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2653, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002843/0.2682, allocations: 1.616 MB / 401.1 MB, free: 31.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.269, allocations: 486.8 kB / 401.6 MB, free: 31.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.194e-05/0.2691, allocations: 7.938 kB / 401.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.402e-05/0.2691, allocations: 0 / 401.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.2693, allocations: 11.92 kB / 401.6 MB, free: 31.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.2696, allocations: 47.83 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.2697, allocations: 43.86 kB / 401.7 MB, free: 31.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2698, allocations: 8.188 kB / 401.7 MB, free: 31.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.2699, allocations: 35.84 kB / 401.7 MB, free: 31.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.27, allocations: 19.86 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.27, allocations: 4 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.27, allocations: 4 kB / 401.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.2701, allocations: 11.92 kB / 401.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.2701, allocations: 27.81 kB / 401.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.2702, allocations: 51.8 kB / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2702, allocations: 0 / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2702, allocations: 0 / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2702, allocations: 3.938 kB / 401.8 MB, free: 31.01 MB / 298.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.0004511/0.2707, allocations: 376.6 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2708, allocations: 8.031 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.2708, allocations: 12.84 kB / 402.2 MB, free: 30.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.271, allocations: 200.1 kB / 402.4 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.271, allocations: 4.359 kB / 402.4 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.271, allocations: 4.375 kB / 402.4 MB, free: 30.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.2713, allocations: 109.2 kB / 402.5 MB, free: 30.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2713, allocations: 4 kB / 402.5 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2713, allocations: 0 / 402.5 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2713, allocations: 0 / 402.5 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.37e-05/0.2714, allocations: 19.98 kB / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.2717, allocations: 265.6 kB / 402.8 MB, free: 29.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/0.2718, allocations: 41.22 kB / 402.8 MB, free: 29.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.2719, allocations: 25.77 kB / 402.9 MB, free: 29.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.2719, allocations: 3.938 kB / 402.9 MB, free: 29.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.2719, allocations: 30.56 kB / 402.9 MB, free: 29.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.2719, allocations: 0 / 402.9 MB, free: 29.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002506/0.2722, allocations: 73.52 kB / 403 MB, free: 29.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2722, allocations: 81.11 kB / 403.1 MB, free: 29.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2724, allocations: 148.8 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2724, allocations: 25.7 kB / 403.2 MB, free: 29.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.2724, allocations: 88.14 kB / 403.3 MB, free: 29.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.2724, allocations: 0 / 403.3 MB, free: 29.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.2725, allocations: 17.97 kB / 403.3 MB, free: 29.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.2726, allocations: 326.8 kB / 403.7 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.2726, allocations: 4 kB / 403.7 MB, free: 28.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.2727, allocations: 21.7 kB / 403.7 MB, free: 28.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.043e-05/0.2728, allocations: 33.64 kB / 403.7 MB, free: 28.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2728, allocations: 4.062 kB / 403.7 MB, free: 28.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.2729, allocations: 57.59 kB / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2729, allocations: 4 kB / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2729, allocations: 0 / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2729, allocations: 0 / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.273, allocations: 11.92 kB / 403.8 MB, free: 28.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.273, allocations: 4 kB / 403.8 MB, free: 28.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.894e-05/0.2731, allocations: 0 / 403.8 MB, free: 28.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.2731, allocations: 4 kB / 403.8 MB, free: 28.78 MB / 298.7 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 6.489e-05/0.2732, allocations: 133.8 kB / 403.9 MB, free: 28.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.2732, allocations: 33.61 kB / 404 MB, free: 28.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.2733, allocations: 11.88 kB / 404 MB, free: 28.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2733, allocations: 0 / 404 MB, free: 28.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2733, allocations: 7.938 kB / 404 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2733, allocations: 3.984 kB / 404 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.2735, allocations: 169.6 kB / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2735, allocations: 0 / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.2735, allocations: 4.031 kB / 404.2 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2735, allocations: 8 kB / 404.2 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.2735, allocations: 3.938 kB / 404.2 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2735, allocations: 0 / 404.2 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2736, allocations: 0 / 404.2 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.2738, allocations: 0.7208 MB / 404.9 MB, free: 27.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.2739, allocations: 100.9 kB / 405 MB, free: 27.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.2739, allocations: 4 kB / 405 MB, free: 27.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.45e-05/0.274, allocations: 3.984 kB / 405 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.274, allocations: 7.938 kB / 405 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.274, allocations: 3.938 kB / 405 MB, free: 27.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.2741, allocations: 107.2 kB / 405.1 MB, free: 27.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2741, allocations: 0 / 405.1 MB, free: 27.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003297/0.2744, allocations: 12 kB / 405.1 MB, free: 27.3 MB / 298.7 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 7.511e-05/0.2745, allocations: 95.25 kB / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.2746, allocations: 27.92 kB / 405.2 MB, free: 27.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2746, allocations: 0 / 405.2 MB, free: 27.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.2747, allocations: 4 kB / 405.2 MB, free: 27.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2751, allocations: 20.95 kB / 405.3 MB, free: 27.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.2754, allocations: 280.5 kB / 405.5 MB, free: 26.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.2755, allocations: 0.6888 MB / 406.2 MB, free: 26.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.2756, allocations: 11.98 kB / 406.2 MB, free: 26.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.2756, allocations: 11.38 kB / 406.2 MB, free: 26.09 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2756, allocations: 0 / 406.2 MB, free: 26.09 MB / 298.7 MB Notification: Performance of Templates: time 0.00234/0.2779, allocations: 0.5366 MB / 406.8 MB, free: 25.57 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches