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.002128/0.002128, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3892, allocations: 50.54 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003749/0.3931, allocations: 1.6 MB / 410.8 MB, free: 20 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.3946, allocations: 0.5453 MB / 411.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.3948, allocations: 4 kB / 411.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.658e-05/0.395, allocations: 7.875 kB / 411.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.3952, allocations: 11.92 kB / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.3957, allocations: 67.75 kB / 411.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3958, allocations: 47.84 kB / 411.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3959, allocations: 16.17 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3961, allocations: 19.88 kB / 411.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.826e-05/0.3962, allocations: 27.84 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.3962, allocations: 4 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.328e-05/0.3962, allocations: 8 kB / 411.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.3963, allocations: 19.92 kB / 411.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.3964, allocations: 27.8 kB / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3966, allocations: 59.55 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3966, allocations: 0 / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3966, allocations: 0 / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3966, allocations: 0 / 411.7 MB, free: 15.16 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.0005163/0.3971, allocations: 390.9 kB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3972, allocations: 8.031 kB / 412.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.3974, allocations: 20.88 kB / 412.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.3977, allocations: 208.1 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3977, allocations: 4.375 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3978, allocations: 7.938 kB / 412.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.398, allocations: 113.9 kB / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3981, allocations: 0 / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3981, allocations: 0 / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3981, allocations: 4 kB / 412.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.564e-05/0.3982, allocations: 27.91 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.3986, allocations: 282.6 kB / 412.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3987, allocations: 71.72 kB / 412.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.3988, allocations: 34.58 kB / 412.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3988, allocations: 4 kB / 412.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3988, allocations: 34.55 kB / 412.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3989, allocations: 0 / 412.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002982/0.3992, allocations: 85.56 kB / 413 MB, free: 13.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.3992, allocations: 115.1 kB / 413.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3994, allocations: 149.7 kB / 413.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3994, allocations: 29.7 kB / 413.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.3995, allocations: 88.08 kB / 413.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.3995, allocations: 0 / 413.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.3995, allocations: 25.66 kB / 413.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3997, allocations: 318.8 kB / 413.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.3998, allocations: 7.984 kB / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.018e-05/0.3998, allocations: 35.44 kB / 413.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.3999, allocations: 47.36 kB / 413.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3999, allocations: 3.984 kB / 413.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001319/0.4001, allocations: 69.62 kB / 413.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4001, allocations: 4 kB / 413.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4001, allocations: 0 / 413.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4001, allocations: 4 kB / 413.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.4002, allocations: 15.92 kB / 413.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4002, allocations: 0 / 413.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.4003, allocations: 7.938 kB / 413.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.4003, allocations: 4.125 kB / 413.9 MB, free: 12.68 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 9.363e-05/0.4004, allocations: 121.8 kB / 414 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.4005, allocations: 61.62 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.4005, allocations: 15.86 kB / 414.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4005, allocations: 0 / 414.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4005, allocations: 0 / 414.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4006, allocations: 7.938 kB / 414.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.4008, allocations: 169.7 kB / 414.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4008, allocations: 4 kB / 414.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.4008, allocations: 12.05 kB / 414.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.4008, allocations: 4 kB / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.4008, allocations: 0 / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4009, allocations: 0 / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4009, allocations: 4 kB / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.4011, allocations: 185.1 kB / 414.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.4011, allocations: 92.98 kB / 414.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.4012, allocations: 4 kB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.4012, allocations: 7.984 kB / 414.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.4013, allocations: 7.875 kB / 414.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.4013, allocations: 4 kB / 414.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.038e-05/0.4014, allocations: 110.8 kB / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4014, allocations: 3.938 kB / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.4016, allocations: 8 kB / 414.7 MB, free: 11.76 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.0001414/0.4018, allocations: 103.2 kB / 414.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.4019, allocations: 31.92 kB / 414.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.402, allocations: 0 / 414.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.402, allocations: 7.984 kB / 414.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.4024, allocations: 38.17 kB / 414.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.4028, allocations: 176.4 kB / 415 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.403, allocations: 0.6924 MB / 415.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.4031, allocations: 7.984 kB / 415.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.4031, allocations: 11.44 kB / 415.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4031, allocations: 0 / 415.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Templates: time 0.003272/0.4064, allocations: 0.6538 MB / 416.4 MB, free: 9.988 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/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