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.001321/0.001321, allocations: 116.2 kB / 17.07 MB, free: 6.004 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.001474/0.001474, allocations: 190.9 kB / 18 MB, free: 5.082 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.621/1.621, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4028, allocations: 49.42 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002918/0.4057, allocations: 1.624 MB / 402.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.4067, allocations: 0.5025 MB / 402.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4068, allocations: 7.938 kB / 402.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.679e-05/0.4069, allocations: 3.938 kB / 402.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.407, allocations: 23.86 kB / 402.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.4073, allocations: 47.83 kB / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.4074, allocations: 67.7 kB / 403 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.4075, allocations: 15.98 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.4076, allocations: 27.86 kB / 403 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.4077, allocations: 31.84 kB / 403.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.4077, allocations: 8 kB / 403.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.4077, allocations: 4 kB / 403.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.4078, allocations: 11.94 kB / 403.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.4078, allocations: 31.73 kB / 403.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.408, allocations: 71.67 kB / 403.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.408, allocations: 0 / 403.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.408, allocations: 0 / 403.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.408, allocations: 0 / 403.2 MB, free: 6.379 MB / 318.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.0004845/0.4085, allocations: 380.2 kB / 403.6 MB, free: 5.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4085, allocations: 19.89 kB / 403.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.4086, allocations: 8.844 kB / 403.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.4088, allocations: 208 kB / 403.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.4089, allocations: 8.375 kB / 403.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.4089, allocations: 4.312 kB / 403.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.4092, allocations: 147 kB / 404 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.4092, allocations: 0 / 404 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.4092, allocations: 8 kB / 404 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4092, allocations: 0 / 404 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.4093, allocations: 27.92 kB / 404 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.4096, allocations: 295.2 kB / 404.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.4098, allocations: 102.4 kB / 404.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.4099, allocations: 39.48 kB / 404.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.4099, allocations: 4 kB / 404.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.4099, allocations: 38.5 kB / 404.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4099, allocations: 4 kB / 404.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002832/0.4102, allocations: 97.5 kB / 404.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.4103, allocations: 136.5 kB / 404.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.4104, allocations: 150.1 kB / 404.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4104, allocations: 30.2 kB / 404.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.4105, allocations: 92.14 kB / 405 MB, free: 4.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.4105, allocations: 11.98 kB / 405 MB, free: 4.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.4106, allocations: 21.62 kB / 405 MB, free: 4.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4107, allocations: 318.8 kB / 405.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.514e-05/0.4107, allocations: 12 kB / 405.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.744e-05/0.4108, allocations: 53.08 kB / 405.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.4109, allocations: 69.02 kB / 405.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4109, allocations: 4 kB / 405.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001427/0.4111, allocations: 85.45 kB / 405.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4111, allocations: 4 kB / 405.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4111, allocations: 0 / 405.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4111, allocations: 4 kB / 405.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.4112, allocations: 11.98 kB / 405.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4112, allocations: 4 kB / 405.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.4113, allocations: 8.188 kB / 405.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.4113, allocations: 0 / 405.6 MB, free: 3.688 MB / 318.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.516e-05/0.4114, allocations: 133.7 kB / 405.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.4115, allocations: 61.66 kB / 405.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.4115, allocations: 11.88 kB / 405.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4116, allocations: 11.98 kB / 405.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4116, allocations: 0 / 405.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4116, allocations: 96 / 405.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.4118, allocations: 185.6 kB / 406 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4118, allocations: 4 kB / 406 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-05/0.4118, allocations: 11.98 kB / 406 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4118, allocations: 4 kB / 406 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4119, allocations: 0 / 406 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.4119, allocations: 3.938 kB / 406 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4119, allocations: 4 kB / 406 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.4121, allocations: 201.9 kB / 406.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.4121, allocations: 96.94 kB / 406.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4122, allocations: 3.984 kB / 406.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.4122, allocations: 4 kB / 406.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.4123, allocations: 0 / 406.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.4123, allocations: 4 kB / 406.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.22e-05/0.4124, allocations: 122.1 kB / 406.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4124, allocations: 0 / 406.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.4126, allocations: 11.91 kB / 406.4 MB, free: 2.719 MB / 318.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.0001077/0.4127, allocations: 102.4 kB / 406.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.4129, allocations: 55.84 kB / 406.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4129, allocations: 384 / 406.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.611e-05/0.413, allocations: 15.94 kB / 406.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.4134, allocations: 43.95 kB / 406.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.4138, allocations: 193.7 kB / 406.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.414, allocations: 0.7082 MB / 407.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.416e-05/0.4141, allocations: 0.6719 kB / 407.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.4141, allocations: 11.44 kB / 407.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4141, allocations: 0 / 407.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of Templates: time 0.003289/0.4174, allocations: 0.8507 MB / 408.4 MB, free: 0.6875 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/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