Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002162/0.002162, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002684/0.002684, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.681/2.681, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002343, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4783, allocations: 50.53 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.004328/0.4827, allocations: 1.601 MB / 411.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.4845, allocations: 0.5376 MB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.4846, allocations: 3.938 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.943e-05/0.4847, allocations: 3.938 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.485, allocations: 19.86 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.4855, allocations: 63.81 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.4857, allocations: 51.78 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.4858, allocations: 12.19 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.4861, allocations: 27.84 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.4862, allocations: 23.86 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.4862, allocations: 4 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.55e-05/0.4863, allocations: 4 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.4864, allocations: 19.92 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.4865, allocations: 27.81 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.4867, allocations: 63.73 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4867, allocations: 0 / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4867, allocations: 0 / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.4868, allocations: 0 / 412.4 MB, free: 15.11 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.0007296/0.4875, allocations: 380.3 kB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.4876, allocations: 8.031 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.4878, allocations: 28.73 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.4883, allocations: 204.6 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4884, allocations: 4.375 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.4884, allocations: 3.938 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.4888, allocations: 117.9 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4889, allocations: 0 / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4889, allocations: 0 / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.4889, allocations: 0 / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.4891, allocations: 31.91 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.4896, allocations: 278.6 kB / 413.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.4899, allocations: 67.78 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.49, allocations: 26.64 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.4901, allocations: 11.94 kB / 413.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.4902, allocations: 42.48 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 5.851e-06/0.4902, allocations: 3.984 kB / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004946/0.4907, allocations: 85.52 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/0.4909, allocations: 107.2 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.4911, allocations: 153.1 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.4911, allocations: 29.7 kB / 413.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.4912, allocations: 92.08 kB / 414 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.4913, allocations: 3.906 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.4913, allocations: 21.7 kB / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4915, allocations: 314.8 kB / 414.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/0.4916, allocations: 11.98 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.4918, allocations: 39.38 kB / 414.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.492, allocations: 43.42 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.492, allocations: 7.938 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002529/0.4922, allocations: 69.52 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4923, allocations: 4 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4923, allocations: 0 / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.4923, allocations: 4 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.4925, allocations: 7.984 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4925, allocations: 4 kB / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.4926, allocations: 11.88 kB / 414.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4926, allocations: 8.125 kB / 414.6 MB, free: 12.63 MB / 334.1 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 0.0001459/0.4928, allocations: 125.7 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.4929, allocations: 49.61 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.493, allocations: 15.86 kB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.493, allocations: 0 / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4931, allocations: 0 / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4931, allocations: 7.938 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.4935, allocations: 165.7 kB / 414.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4935, allocations: 4.062 kB / 414.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.4936, allocations: 15.92 kB / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.4936, allocations: 4 kB / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4936, allocations: 0 / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4937, allocations: 0 / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4937, allocations: 0 / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.494, allocations: 185.1 kB / 415.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.4941, allocations: 89 kB / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.4942, allocations: 0 / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.4943, allocations: 7.984 kB / 415.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.4944, allocations: 7.938 kB / 415.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.444e-05/0.4945, allocations: 4 kB / 415.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.4947, allocations: 118.1 kB / 415.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4947, allocations: 3.938 kB / 415.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004577/0.4951, allocations: 8 kB / 415.4 MB, free: 11.73 MB / 334.1 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 0.0001636/0.4953, allocations: 99.25 kB / 415.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.4956, allocations: 35.92 kB / 415.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4956, allocations: 0 / 415.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.4957, allocations: 7.984 kB / 415.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.4964, allocations: 32.02 kB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.4971, allocations: 222 kB / 415.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.4975, allocations: 0.6924 MB / 416.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.4976, allocations: 15.42 kB / 416.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4976, allocations: 0 / 416.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of Templates: time 0.003923/0.5015, allocations: 0.8715 MB / 417.3 MB, free: 9.691 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches