Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001545/0.001545, allocations: 109.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002096/0.002096, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.725/2.725, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 64.12 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4914, allocations: 50.53 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004851/0.4963, allocations: 1.631 MB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.4982, allocations: 0.5765 MB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.4984, allocations: 7.938 kB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.026e-05/0.4985, allocations: 7.875 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.4987, allocations: 15.86 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.4993, allocations: 59.81 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.4996, allocations: 59.78 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.4997, allocations: 24.22 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.4999, allocations: 35.84 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.5001, allocations: 23.86 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.5001, allocations: 4 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.575e-05/0.5002, allocations: 11.94 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.5003, allocations: 19.86 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.5003, allocations: 31.75 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.5006, allocations: 71.72 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.5006, allocations: 3.938 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5006, allocations: 0 / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.5006, allocations: 4 kB / 412.5 MB, free: 15 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007382/0.5014, allocations: 392.2 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.5014, allocations: 12.03 kB / 412.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.5017, allocations: 16.83 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.5022, allocations: 219.9 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5022, allocations: 4.375 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.5023, allocations: 8.375 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.5027, allocations: 135 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5028, allocations: 0 / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.5028, allocations: 3.984 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.5028, allocations: 8 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.503, allocations: 23.92 kB / 413.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.5035, allocations: 295.3 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.5038, allocations: 98.42 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.5039, allocations: 43.48 kB / 413.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.504, allocations: 4 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.504, allocations: 38.5 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.5041, allocations: 0 / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004878/0.5046, allocations: 101.5 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.5047, allocations: 141 kB / 414 MB, free: 13.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.5049, allocations: 153.3 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.5049, allocations: 25.7 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.505, allocations: 88.14 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.5051, allocations: 11.89 kB / 414.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.5052, allocations: 17.72 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.5054, allocations: 326.8 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.5055, allocations: 12 kB / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.5056, allocations: 49.14 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.5058, allocations: 69.02 kB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5059, allocations: 0 / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002741/0.5062, allocations: 89.39 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5062, allocations: 4 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5062, allocations: 8.188 kB / 414.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5062, allocations: 0 / 414.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.5064, allocations: 15.98 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.5064, allocations: 0 / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.5065, allocations: 4 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.5065, allocations: 4 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001626/0.5067, allocations: 133.6 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.5069, allocations: 73.59 kB / 415.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/0.507, allocations: 15.83 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.507, allocations: 0 / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.507, allocations: 0 / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.507, allocations: 4 kB / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.5074, allocations: 189.5 kB / 415.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5074, allocations: 0 / 415.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.5076, allocations: 15.98 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5076, allocations: 0 / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.5076, allocations: 0 / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5076, allocations: 4 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5076, allocations: 4.031 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.508, allocations: 198 kB / 415.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.5081, allocations: 97 kB / 415.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.5082, allocations: 11.98 kB / 415.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.5083, allocations: 8 kB / 415.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.5084, allocations: 0 / 415.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.5084, allocations: 4 kB / 415.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.5085, allocations: 118.3 kB / 415.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5085, allocations: 0 / 415.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.509, allocations: 8 kB / 415.7 MB, free: 11.31 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.000171/0.5092, allocations: 99.25 kB / 415.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.5095, allocations: 47.84 kB / 415.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5095, allocations: 0 / 415.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.5096, allocations: 15.98 kB / 415.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.5103, allocations: 47.84 kB / 416 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007633/0.5111, allocations: 232 kB / 416.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.5116, allocations: 0.7002 MB / 416.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.5117, allocations: 11.44 kB / 416.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5117, allocations: 0 / 416.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Templates: time 0.00408/0.5158, allocations: 1.052 MB / 417.9 MB, free: 9.047 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches