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.001723/0.001723, allocations: 111.1 kB / 17.74 MB, free: 5.336 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.002082/0.002082, allocations: 188.2 kB / 18.67 MB, free: 4.41 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.48/1.48, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 47.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3645, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003375/0.3679, allocations: 1.607 MB / 403 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009653/0.3689, allocations: 0.5141 MB / 403.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.369, allocations: 7.938 kB / 403.5 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.3691, allocations: 3.938 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.3693, allocations: 7.875 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.3696, allocations: 59.8 kB / 403.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3697, allocations: 59.78 kB / 403.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3698, allocations: 23.88 kB / 403.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.881e-05/0.3699, allocations: 27.91 kB / 403.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.37, allocations: 23.86 kB / 403.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.37, allocations: 4 kB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.3701, allocations: 4 kB / 403.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.3701, allocations: 15.92 kB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.3702, allocations: 31.75 kB / 403.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3703, allocations: 71.66 kB / 403.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3703, allocations: 0 / 403.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3703, allocations: 0 / 403.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3704, allocations: 4 kB / 403.9 MB, free: 6.367 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.0005878/0.371, allocations: 388.2 kB / 404.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.371, allocations: 11.89 kB / 404.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.371, allocations: 16.81 kB / 404.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.3713, allocations: 204.1 kB / 404.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3714, allocations: 12.3 kB / 404.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.3714, allocations: 8.375 kB / 404.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.3717, allocations: 135.1 kB / 404.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3717, allocations: 0 / 404.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3718, allocations: 0 / 404.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.3718, allocations: 0 / 404.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.3719, allocations: 35.91 kB / 404.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.3723, allocations: 295.2 kB / 405 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.3724, allocations: 98.42 kB / 405.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.3725, allocations: 43.5 kB / 405.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.3726, allocations: 3.984 kB / 405.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3726, allocations: 46.44 kB / 405.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3726, allocations: 0 / 405.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003127/0.3729, allocations: 93.52 kB / 405.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.578e-05/0.373, allocations: 144.9 kB / 405.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3732, allocations: 150.5 kB / 405.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3732, allocations: 25.7 kB / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.3733, allocations: 92.14 kB / 405.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.3733, allocations: 0 / 405.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.3734, allocations: 25.61 kB / 405.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3735, allocations: 322.8 kB / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.641e-05/0.3736, allocations: 11.92 kB / 406 MB, free: 3.953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.3736, allocations: 53.14 kB / 406 MB, free: 3.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3738, allocations: 69.02 kB / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3738, allocations: 0 / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000164/0.3739, allocations: 85.45 kB / 406.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.374, allocations: 4 kB / 406.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.374, allocations: 4.188 kB / 406.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.374, allocations: 4 kB / 406.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.3741, allocations: 12 kB / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3741, allocations: 7.969 kB / 406.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.3742, allocations: 4 kB / 406.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3742, allocations: 8 kB / 406.2 MB, free: 3.664 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 8.95e-05/0.3743, allocations: 121.7 kB / 406.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/0.3744, allocations: 69.53 kB / 406.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.3745, allocations: 19.95 kB / 406.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3745, allocations: 0 / 406.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3745, allocations: 0 / 406.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.3745, allocations: 4 kB / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3747, allocations: 177.7 kB / 406.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3747, allocations: 4 kB / 406.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.3748, allocations: 12 kB / 406.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3748, allocations: 0 / 406.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3748, allocations: 3.984 kB / 406.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3748, allocations: 4 kB / 406.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3748, allocations: 0 / 406.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3751, allocations: 201.9 kB / 406.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.3751, allocations: 100.9 kB / 406.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3752, allocations: 4 kB / 406.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.3752, allocations: 4 kB / 407 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3753, allocations: 11.98 kB / 407 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3753, allocations: 4 kB / 407 MB, free: 2.824 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.3754, allocations: 115.7 kB / 407.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3754, allocations: 0 / 407.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.3757, allocations: 7.906 kB / 407.1 MB, free: 2.707 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.000122/0.3758, allocations: 111.2 kB / 407.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.376, allocations: 51.86 kB / 407.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.376, allocations: 0 / 407.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.376, allocations: 7.984 kB / 407.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.3765, allocations: 51 kB / 407.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.3769, allocations: 232.1 kB / 407.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3772, allocations: 0.7039 MB / 408.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.3773, allocations: 11.44 kB / 408.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3773, allocations: 0 / 408.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of Templates: time 0.002729/0.38, allocations: 1.012 MB / 409.3 MB, free: 480 kB / 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/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