Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001729/0.001729, allocations: 201.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008977/0.0008979, allocations: 95.81 kB / 299.9 MB, free: 5.375 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 8 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2826, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001444/0.2841, allocations: 1.289 MB / 413.3 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.2848, allocations: 0.7188 MB / 414.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.2849, allocations: 3.938 kB / 414.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.285, allocations: 7 kB / 414.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.2851, allocations: 15.92 kB / 414.1 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.2854, allocations: 39.91 kB / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.716e-05/0.2855, allocations: 43.84 kB / 414.2 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2856, allocations: 24.14 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2857, allocations: 21.08 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.2857, allocations: 23.86 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.2858, allocations: 0 / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.52e-05/0.2858, allocations: 4.75 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.2859, allocations: 11.92 kB / 414.3 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.2859, allocations: 50.48 kB / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.506e-05/0.286, allocations: 59.72 kB / 414.4 MB, free: 23.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.286, allocations: 0.7188 kB / 414.4 MB, free: 23.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.286, allocations: 0 / 414.4 MB, free: 23.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.286, allocations: 4 kB / 414.4 MB, free: 23.56 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.0003645/0.2864, allocations: 364.8 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2864, allocations: 15.97 kB / 414.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.2866, allocations: 20.83 kB / 414.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.2867, allocations: 196 kB / 415 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2868, allocations: 8.375 kB / 415 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.2868, allocations: 8.312 kB / 415 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.287, allocations: 122 kB / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.287, allocations: 4 kB / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.287, allocations: 0 / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.287, allocations: 0 / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.2871, allocations: 31.92 kB / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.2874, allocations: 270.6 kB / 415.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.596e-05/0.2875, allocations: 75.78 kB / 415.5 MB, free: 22.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.2875, allocations: 38.62 kB / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2876, allocations: 0 / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.2876, allocations: 38.5 kB / 415.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2876, allocations: 0 / 415.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002209/0.2878, allocations: 89.52 kB / 415.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2879, allocations: 107.2 kB / 415.7 MB, free: 21.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.2879, allocations: 150 kB / 415.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.288, allocations: 29.7 kB / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.288, allocations: 88.14 kB / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.288, allocations: 7.891 kB / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.288, allocations: 0 / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.2881, allocations: 322.8 kB / 416.3 MB, free: 21.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.2881, allocations: 11.98 kB / 416.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.2882, allocations: 35.44 kB / 416.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.597e-05/0.2882, allocations: 51.36 kB / 416.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2882, allocations: 4 kB / 416.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001096/0.2884, allocations: 69.61 kB / 416.5 MB, free: 21.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2884, allocations: 8 kB / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2884, allocations: 0 / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2884, allocations: 0 / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.2885, allocations: 16.11 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.2885, allocations: 7.938 kB / 416.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.2885, allocations: 7.938 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2886, allocations: 0 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 5.842e-05/0.2886, allocations: 125.7 kB / 416.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.2887, allocations: 53.55 kB / 416.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.2887, allocations: 19.8 kB / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2887, allocations: 0 / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2887, allocations: 4.062 kB / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2888, allocations: 0 / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.2889, allocations: 173.6 kB / 416.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2889, allocations: 0 / 416.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.2889, allocations: 11.98 kB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2889, allocations: 4 kB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.289, allocations: 3.938 kB / 416.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.289, allocations: 0 / 416.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.289, allocations: 4 kB / 416.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.2891, allocations: 189 kB / 417.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.2891, allocations: 89.14 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.2892, allocations: 8 kB / 417.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.2892, allocations: 7.984 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.2893, allocations: 7.984 kB / 417.2 MB, free: 20.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.2893, allocations: 4 kB / 417.2 MB, free: 20.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.856e-05/0.2894, allocations: 107.2 kB / 417.3 MB, free: 20.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2894, allocations: 0 / 417.3 MB, free: 20.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001991/0.2896, allocations: 8 kB / 417.3 MB, free: 20.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.952e-05/0.2897, allocations: 99.25 kB / 417.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.2898, allocations: 43.92 kB / 417.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2898, allocations: 0 / 417.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.513e-05/0.2899, allocations: 11.98 kB / 417.5 MB, free: 20.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2902, allocations: 27.89 kB / 417.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.2905, allocations: 211 kB / 417.7 MB, free: 19.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.2906, allocations: 0.6926 MB / 418.4 MB, free: 19.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.914e-05/0.2906, allocations: 7.75 kB / 418.4 MB, free: 19.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.2907, allocations: 11.42 kB / 418.4 MB, free: 19.03 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2907, allocations: 4 kB / 418.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of Templates: time 0.002094/0.2928, allocations: 0.5836 MB / 419 MB, free: 18.45 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches