Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 104 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 191.5 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 42.33 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 49.45 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003211/0.1111, allocations: 1.594 MB / 352.3 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008733/0.112, allocations: 0.522 MB / 352.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.1121, allocations: 0 / 352.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.759e-05/0.1121, allocations: 15.8 kB / 352.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.1123, allocations: 11.88 kB / 352.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1126, allocations: 59.8 kB / 352.9 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1127, allocations: 59.78 kB / 353 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1128, allocations: 15.98 kB / 353 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.1129, allocations: 31.81 kB / 353 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.113, allocations: 23.86 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.113, allocations: 4 kB / 353.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.113, allocations: 4 kB / 353.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.1131, allocations: 19.91 kB / 353.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.1132, allocations: 35.73 kB / 353.1 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1133, allocations: 63.73 kB / 353.2 MB, free: 1.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1133, allocations: 0 / 353.2 MB, free: 1.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1133, allocations: 0 / 353.2 MB, free: 1.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1133, allocations: 0 / 353.2 MB, free: 1.93 MB / 286.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.0005142/0.1138, allocations: 395.3 kB / 353.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1139, allocations: 11.89 kB / 353.6 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.1139, allocations: 12.75 kB / 353.6 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1141, allocations: 208 kB / 353.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1142, allocations: 384 / 353.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1142, allocations: 4.375 kB / 353.8 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.1145, allocations: 151 kB / 354 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1145, allocations: 4 kB / 354 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1145, allocations: 0 / 354 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1145, allocations: 0 / 354 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.1146, allocations: 27.92 kB / 354 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.115, allocations: 291.4 kB / 354.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1151, allocations: 94.42 kB / 354.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.1152, allocations: 51.48 kB / 354.4 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1152, allocations: 0 / 354.4 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1153, allocations: 42.48 kB / 354.5 MB, free: 448 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.1153, allocations: 4 kB / 354.5 MB, free: 444 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002981/0.1156, allocations: 97.45 kB / 354.6 MB, free: 340 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.1157, allocations: 132.5 kB / 354.7 MB, free: 176 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1158, allocations: 152.1 kB / 354.8 MB, free: 12 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1158, allocations: 26.2 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.1159, allocations: 104.1 kB / 355 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.1159, allocations: 3.906 kB / 355 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.116, allocations: 17.72 kB / 355 MB, free: 15.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1161, allocations: 326.8 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.1161, allocations: 11.98 kB / 355.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.1162, allocations: 45.16 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1163, allocations: 65.02 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1163, allocations: 4 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001486/0.1165, allocations: 85.45 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1165, allocations: 8 kB / 355.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1165, allocations: 3.984 kB / 355.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1165, allocations: 0 / 355.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.1166, allocations: 12 kB / 355.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1166, allocations: 3.938 kB / 355.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.1167, allocations: 12.17 kB / 355.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1167, allocations: 8 kB / 355.6 MB, free: 15.22 MB / 302.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 8.684e-05/0.1168, allocations: 125.7 kB / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-05/0.1169, allocations: 65.53 kB / 355.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.1169, allocations: 11.88 kB / 355.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.117, allocations: 0 / 355.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.117, allocations: 3.984 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.117, allocations: 4.094 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.1172, allocations: 185.4 kB / 355.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1172, allocations: 0 / 355.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.1172, allocations: 15.98 kB / 356 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1172, allocations: 0 / 356 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1173, allocations: 7.984 kB / 356 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1173, allocations: 0 / 356 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1173, allocations: 128 / 356 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1175, allocations: 209.9 kB / 356.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.1176, allocations: 97 kB / 356.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1176, allocations: 0 / 356.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.1177, allocations: 4 kB / 356.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.1177, allocations: 4 kB / 356.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1177, allocations: 4 kB / 356.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.499e-05/0.1178, allocations: 118.9 kB / 356.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1178, allocations: 0 / 356.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.118, allocations: 8 kB / 356.4 MB, free: 14.27 MB / 302.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 9.95e-05/0.1181, allocations: 111.1 kB / 356.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1183, allocations: 39.92 kB / 356.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1183, allocations: 384 / 356.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.1184, allocations: 15.98 kB / 356.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.1188, allocations: 44.59 kB / 356.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.1192, allocations: 235.6 kB / 356.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1195, allocations: 0.6924 MB / 357.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.1195, allocations: 15.42 kB / 357.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1195, allocations: 0 / 357.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Templates: time 0.002377/0.1219, allocations: 1.025 MB / 358.6 MB, free: 12.03 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches