Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 215.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.88 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2575, allocations: 50.54 MB / 410.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003181/0.2607, allocations: 1.623 MB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2618, allocations: 0.5842 MB / 412.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.2619, allocations: 3.938 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.143e-05/0.262, allocations: 7.922 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.2621, allocations: 15.86 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.2625, allocations: 71.75 kB / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.2626, allocations: 51.84 kB / 412.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2628, allocations: 28.14 kB / 412.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.2629, allocations: 31.86 kB / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.263, allocations: 23.86 kB / 412.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.263, allocations: 4 kB / 412.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.263, allocations: 7.984 kB / 412.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.2631, allocations: 23.86 kB / 412.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.2631, allocations: 31.75 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.2633, allocations: 75.45 kB / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2633, allocations: 0 / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2633, allocations: 0 / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.2633, allocations: 3.938 kB / 412.8 MB, free: 14.81 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.0005187/0.2638, allocations: 391 kB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2639, allocations: 12.02 kB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.264, allocations: 20.84 kB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.2643, allocations: 216.1 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2643, allocations: 8.375 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.2644, allocations: 8.375 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.2647, allocations: 139 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2647, allocations: 0 / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.2647, allocations: 0 / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2647, allocations: 3.984 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.2648, allocations: 31.92 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.2652, allocations: 287.4 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.2654, allocations: 98.36 kB / 414 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.2655, allocations: 39.48 kB / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2655, allocations: 0 / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.2655, allocations: 42.56 kB / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.2655, allocations: 0 / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003151/0.2658, allocations: 97.5 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.2659, allocations: 148.9 kB / 414.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.2661, allocations: 150.7 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.2661, allocations: 29.7 kB / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.2662, allocations: 88.14 kB / 414.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.2662, allocations: 7.953 kB / 414.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.2663, allocations: 21.7 kB / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2664, allocations: 322.8 kB / 414.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.2665, allocations: 11.98 kB / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.2665, allocations: 49.14 kB / 415 MB, free: 12.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2667, allocations: 65.08 kB / 415 MB, free: 12.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2667, allocations: 0 / 415 MB, free: 12.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001662/0.2668, allocations: 85.5 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2668, allocations: 7.938 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2668, allocations: 4.188 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2669, allocations: 4 kB / 415.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.2669, allocations: 19.92 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.267, allocations: 3.938 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.267, allocations: 4 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.267, allocations: 8 kB / 415.2 MB, free: 12.1 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 9.27e-05/0.2671, allocations: 125.7 kB / 415.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.2672, allocations: 65.55 kB / 415.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.2673, allocations: 23.91 kB / 415.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2673, allocations: 4 kB / 415.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2673, allocations: 0 / 415.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.2673, allocations: 7.984 kB / 415.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.2675, allocations: 181.5 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2675, allocations: 0 / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.2675, allocations: 24.05 kB / 415.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2675, allocations: 0 / 415.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.2675, allocations: 4 kB / 415.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2676, allocations: 4 kB / 415.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2676, allocations: 4 kB / 415.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.2678, allocations: 194 kB / 415.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.2678, allocations: 93.05 kB / 415.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.2679, allocations: 4 kB / 415.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.2679, allocations: 11.98 kB / 415.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.268, allocations: 4 kB / 415.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.268, allocations: 4 kB / 415.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.694e-05/0.2681, allocations: 111.2 kB / 416 MB, free: 11.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2681, allocations: 0 / 416 MB, free: 11.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000236/0.2683, allocations: 12 kB / 416 MB, free: 11.12 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.0001072/0.2684, allocations: 95.25 kB / 416.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.2686, allocations: 47.91 kB / 416.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2686, allocations: 0 / 416.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.2686, allocations: 7.938 kB / 416.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.269, allocations: 54.53 kB / 416.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.2694, allocations: 214.2 kB / 416.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.2698, allocations: 0.6963 MB / 417.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.58e-05/0.2698, allocations: 4.672 kB / 417.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.2698, allocations: 11.44 kB / 417.1 MB, free: 9.934 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2698, allocations: 0 / 417.1 MB, free: 9.934 MB / 334.1 MB Notification: Performance of Templates: time 0.003576/0.2734, allocations: 0.8446 MB / 418 MB, free: 9.102 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches