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.001723/0.001724, allocations: 112.6 kB / 17.74 MB, free: 5.227 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.00191/0.00191, allocations: 184.5 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.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 51.92 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2814, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002541/0.284, allocations: 1.56 MB / 402.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007828/0.2848, allocations: 498.7 kB / 403.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.2849, allocations: 7.875 kB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.2849, allocations: 3.938 kB / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.285, allocations: 15.88 kB / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.2853, allocations: 47.83 kB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2854, allocations: 43.84 kB / 403.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.2855, allocations: 12.19 kB / 403.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.2856, allocations: 27.84 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.947e-05/0.2856, allocations: 23.86 kB / 403.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.2857, allocations: 8 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.2857, allocations: 0 / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.2857, allocations: 15.92 kB / 403.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.2858, allocations: 27.81 kB / 403.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.2859, allocations: 55.8 kB / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2859, allocations: 0 / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2859, allocations: 3.938 kB / 403.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2859, allocations: 0 / 403.7 MB, free: 6.551 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.000439/0.2864, allocations: 368.3 kB / 404.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2864, allocations: 12.03 kB / 404.1 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.2864, allocations: 12.84 kB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.2867, allocations: 208 kB / 404.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.2867, allocations: 384 / 404.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.2867, allocations: 4.375 kB / 404.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.287, allocations: 109.2 kB / 404.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.287, allocations: 0 / 404.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.287, allocations: 0 / 404.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.287, allocations: 0 / 404.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.2871, allocations: 23.92 kB / 404.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.2874, allocations: 261.8 kB / 404.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.2875, allocations: 49.12 kB / 404.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.2875, allocations: 21.78 kB / 404.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.2876, allocations: 0 / 404.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2876, allocations: 34.55 kB / 404.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2876, allocations: 3.938 kB / 404.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000221/0.2878, allocations: 69.53 kB / 404.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.2879, allocations: 85.09 kB / 405 MB, free: 5.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.288, allocations: 141.8 kB / 405.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.288, allocations: 25.7 kB / 405.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.2881, allocations: 92.12 kB / 405.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.2881, allocations: 7.906 kB / 405.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2882, allocations: 17.97 kB / 405.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2883, allocations: 318.8 kB / 405.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.2883, allocations: 11.98 kB / 405.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.2884, allocations: 21.66 kB / 405.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.874e-05/0.2885, allocations: 33.7 kB / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2885, allocations: 0 / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001176/0.2886, allocations: 65.52 kB / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2886, allocations: 4 kB / 405.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2886, allocations: 0 / 405.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2886, allocations: 0 / 405.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.2887, allocations: 8 kB / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2887, allocations: 0 / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.2888, allocations: 3.984 kB / 405.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2888, allocations: 8.062 kB / 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 6.931e-05/0.2888, allocations: 117.8 kB / 405.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.2889, allocations: 37.61 kB / 405.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.289, allocations: 11.86 kB / 405.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.289, allocations: 0 / 405.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.289, allocations: 4 kB / 405.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.289, allocations: 0 / 405.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2891, allocations: 177.5 kB / 406 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2892, allocations: 0 / 406 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.2892, allocations: 12.03 kB / 406 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2892, allocations: 3.984 kB / 406.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2892, allocations: 0 / 406.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2892, allocations: 0 / 406.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2892, allocations: 0 / 406.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.2894, allocations: 164.2 kB / 406.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.2895, allocations: 89.12 kB / 406.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2895, allocations: 3.938 kB / 406.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.2896, allocations: 11.98 kB / 406.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.2896, allocations: 0 / 406.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.2896, allocations: 4 kB / 406.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.677e-05/0.2897, allocations: 113.9 kB / 406.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2897, allocations: 0 / 406.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.2899, allocations: 7.906 kB / 406.4 MB, free: 3.461 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 9.313e-05/0.29, allocations: 104 kB / 406.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.2901, allocations: 23.98 kB / 406.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2902, allocations: 0 / 406.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.864e-05/0.2902, allocations: 7.984 kB / 406.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.2905, allocations: 27.84 kB / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.2908, allocations: 185.6 kB / 406.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2911, allocations: 0.6922 MB / 407.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.2912, allocations: 15.42 kB / 407.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2912, allocations: 0 / 407.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of Templates: time 0.002023/0.2932, allocations: 0.774 MB / 408.3 MB, free: 1.578 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