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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001852/0.001852, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002404/0.002404, allocations: 207.2 kB / 19.79 MB, free: 2.586 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.636/1.636, allocations: 230.4 MB / 251.1 MB, free: 8.473 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.002119/0.002119, allocations: 75.81 kB / 369 MB, free: 6.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3781, allocations: 53.32 MB / 422.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003781/0.3819, allocations: 1.632 MB / 423.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3832, allocations: 0.5765 MB / 424.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.3834, allocations: 7.938 kB / 424.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.043e-05/0.3834, allocations: 7.922 kB / 424.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.3836, allocations: 11.86 kB / 424.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.384, allocations: 71.75 kB / 424.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.3842, allocations: 59.78 kB / 424.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3843, allocations: 16.22 kB / 424.7 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.3845, allocations: 31.84 kB / 424.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.53e-05/0.3846, allocations: 31.8 kB / 424.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3846, allocations: 7.938 kB / 424.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.334e-05/0.3846, allocations: 8 kB / 424.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.3847, allocations: 15.92 kB / 424.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.3847, allocations: 35.73 kB / 424.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.385, allocations: 67.23 kB / 424.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.385, allocations: 8 kB / 424.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.385, allocations: 0 / 424.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.385, allocations: 0 / 424.9 MB, free: 5.25 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.0007536/0.3857, allocations: 398.9 kB / 425.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.3858, allocations: 12.03 kB / 425.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.386, allocations: 16.84 kB / 425.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.3864, allocations: 216.2 kB / 425.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.3864, allocations: 384 / 425.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.3865, allocations: 8.375 kB / 425.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.3869, allocations: 143 kB / 425.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3869, allocations: 4 kB / 425.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.3869, allocations: 3.984 kB / 425.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3869, allocations: 4 kB / 425.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.387, allocations: 23.92 kB / 425.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.3875, allocations: 295.4 kB / 426 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3877, allocations: 94.36 kB / 426.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.3878, allocations: 47.48 kB / 426.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3878, allocations: 4 kB / 426.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3878, allocations: 30.56 kB / 426.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3878, allocations: 0 / 426.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003654/0.3882, allocations: 106 kB / 426.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.3883, allocations: 136.5 kB / 426.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3885, allocations: 154.2 kB / 426.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3885, allocations: 25.7 kB / 426.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.3885, allocations: 92.14 kB / 426.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3886, allocations: 7.938 kB / 426.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.3886, allocations: 21.66 kB / 426.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3888, allocations: 326.8 kB / 427 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.3888, allocations: 15.98 kB / 427 MB, free: 2.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.596e-05/0.3889, allocations: 45.14 kB / 427 MB, free: 2.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.389, allocations: 61.08 kB / 427.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.389, allocations: 3.938 kB / 427.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001646/0.3892, allocations: 93.53 kB / 427.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3892, allocations: 8 kB / 427.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3892, allocations: 0 / 427.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.3892, allocations: 0 / 427.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3893, allocations: 19.92 kB / 427.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3893, allocations: 3.984 kB / 427.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.3894, allocations: 4 kB / 427.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.3894, allocations: 4 kB / 427.2 MB, free: 2.531 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.0001091/0.3895, allocations: 133.9 kB / 427.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3896, allocations: 69.53 kB / 427.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.3897, allocations: 15.83 kB / 427.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3897, allocations: 0 / 427.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.3897, allocations: 4 kB / 427.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3897, allocations: 0 / 427.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.3899, allocations: 181.6 kB / 427.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3899, allocations: 0 / 427.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.404e-05/0.39, allocations: 19.92 kB / 427.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.39, allocations: 4.094 kB / 427.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.39, allocations: 4 kB / 427.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.39, allocations: 0 / 427.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.39, allocations: 0 / 427.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.3903, allocations: 202.1 kB / 427.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.3903, allocations: 101 kB / 428 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.3904, allocations: 3.984 kB / 428 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.3904, allocations: 4 kB / 428 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.3905, allocations: 0 / 428 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3905, allocations: 4 kB / 428 MB, free: 1.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.874e-05/0.3906, allocations: 118.7 kB / 428.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3906, allocations: 0 / 428.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.3908, allocations: 8 kB / 428.1 MB, free: 1.562 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.0001682/0.391, allocations: 103.2 kB / 428.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.3912, allocations: 43.91 kB / 428.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3912, allocations: 0 / 428.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.3912, allocations: 15.94 kB / 428.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.3917, allocations: 48.59 kB / 428.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.3922, allocations: 209.5 kB / 428.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.3925, allocations: 0.7002 MB / 429.2 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.3926, allocations: 0.6719 kB / 429.2 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.3926, allocations: 19.41 kB / 429.2 MB, free: 372 kB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3926, allocations: 4 kB / 429.2 MB, free: 368 kB / 334.1 MB Notification: Performance of Templates: time 0.004088/0.3967, allocations: 0.8546 MB / 430.1 MB, free: 15.52 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/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) [Timeout 660] Reference file matches