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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 104.5 kB / 17.73 MB, free: 5.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 187.1 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 39.94 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2955, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.00294/0.2985, allocations: 1.563 MB / 402.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.2994, allocations: 490.6 kB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-05/0.2995, allocations: 0 / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.968e-05/0.2996, allocations: 7.922 kB / 403.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.2997, allocations: 11.88 kB / 403.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.3, allocations: 47.83 kB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3001, allocations: 55.77 kB / 403.5 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3002, allocations: 16.19 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.3003, allocations: 19.92 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.3003, allocations: 19.86 kB / 403.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3004, allocations: 4 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.3004, allocations: 4 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.3004, allocations: 19.91 kB / 403.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.3005, allocations: 27.75 kB / 403.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3006, allocations: 63.73 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3006, allocations: 0 / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.3006, allocations: 0 / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3006, allocations: 3.938 kB / 403.7 MB, free: 6.535 MB / 318.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.000503/0.3012, allocations: 379.4 kB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3012, allocations: 8.031 kB / 404.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.3012, allocations: 8.844 kB / 404.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3015, allocations: 192.1 kB / 404.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3015, allocations: 8.375 kB / 404.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3015, allocations: 4.375 kB / 404.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.3018, allocations: 105.2 kB / 404.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3018, allocations: 0 / 404.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3018, allocations: 0 / 404.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3019, allocations: 8 kB / 404.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.509e-05/0.3019, allocations: 19.92 kB / 404.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.3023, allocations: 261.8 kB / 404.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.3024, allocations: 49.14 kB / 404.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.3024, allocations: 17.78 kB / 404.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3024, allocations: 3.984 kB / 404.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3025, allocations: 38.56 kB / 404.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.3025, allocations: 0 / 404.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002469/0.3027, allocations: 69.45 kB / 404.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.3028, allocations: 85.36 kB / 405 MB, free: 5.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3029, allocations: 141.8 kB / 405.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3029, allocations: 29.64 kB / 405.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.303, allocations: 92.14 kB / 405.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.303, allocations: 3.906 kB / 405.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.3031, allocations: 17.7 kB / 405.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3032, allocations: 318.8 kB / 405.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.3032, allocations: 15.98 kB / 405.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.3033, allocations: 17.72 kB / 405.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.62e-05/0.3033, allocations: 29.7 kB / 405.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3034, allocations: 0 / 405.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001143/0.3035, allocations: 61.59 kB / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3035, allocations: 4 kB / 405.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3035, allocations: 7.984 kB / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3035, allocations: 0 / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.3036, allocations: 8 kB / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3036, allocations: 0 / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.3037, allocations: 4 kB / 405.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3037, allocations: 0 / 405.7 MB, free: 4.309 MB / 318.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 8.815e-05/0.3038, allocations: 125.7 kB / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.3038, allocations: 49.59 kB / 405.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.3039, allocations: 15.86 kB / 405.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3039, allocations: 0 / 405.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3039, allocations: 0 / 405.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3039, allocations: 0 / 405.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3041, allocations: 173.5 kB / 406 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3041, allocations: 0 / 406 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.3041, allocations: 8 kB / 406.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3041, allocations: 0 / 406.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3042, allocations: 0 / 406.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3042, allocations: 8.031 kB / 406.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3042, allocations: 0 / 406.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.3043, allocations: 164.2 kB / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.3044, allocations: 93.09 kB / 406.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3044, allocations: 0 / 406.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.3045, allocations: 3.938 kB / 406.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.3046, allocations: 12.02 kB / 406.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.3046, allocations: 0 / 406.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.612e-05/0.3046, allocations: 106 kB / 406.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3046, allocations: 0 / 406.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.3049, allocations: 11.91 kB / 406.4 MB, free: 3.449 MB / 318.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.0001212/0.305, allocations: 108 kB / 406.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.3052, allocations: 23.98 kB / 406.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3052, allocations: 0 / 406.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.3052, allocations: 8 kB / 406.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3056, allocations: 23.95 kB / 406.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.306, allocations: 181.3 kB / 406.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.3062, allocations: 0.6885 MB / 407.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.3063, allocations: 19.38 kB / 407.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3063, allocations: 0 / 407.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of Templates: time 0.002474/0.3088, allocations: 0.7816 MB / 408.3 MB, free: 1.566 MB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches