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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001029, allocations: 104.4 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009384/0.0009387, allocations: 43.94 kB / 350 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2815, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002649/0.2842, allocations: 1.667 MB / 401.1 MB, free: 31.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.285, allocations: 0.5026 MB / 401.6 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2851, allocations: 4 kB / 401.6 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.236e-05/0.2852, allocations: 3.938 kB / 401.6 MB, free: 31.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.2853, allocations: 11.92 kB / 401.7 MB, free: 31.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.2856, allocations: 55.83 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.816e-05/0.2857, allocations: 51.8 kB / 401.8 MB, free: 31.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2858, allocations: 19.98 kB / 401.8 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.2859, allocations: 27.84 kB / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.286, allocations: 27.86 kB / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.286, allocations: 0 / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.286, allocations: 11.94 kB / 401.9 MB, free: 30.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.2861, allocations: 11.92 kB / 401.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.2861, allocations: 31.75 kB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.2862, allocations: 67.72 kB / 402 MB, free: 30.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2863, allocations: 0 / 402 MB, free: 30.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2863, allocations: 0 / 402 MB, free: 30.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2863, allocations: 0 / 402 MB, free: 30.86 MB / 298.7 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.0004365/0.2867, allocations: 376.7 kB / 402.3 MB, free: 30.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2868, allocations: 12.03 kB / 402.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.2868, allocations: 12.84 kB / 402.4 MB, free: 30.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.287, allocations: 213.1 kB / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.287, allocations: 8.375 kB / 402.6 MB, free: 30.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.287, allocations: 4.375 kB / 402.6 MB, free: 30.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.2873, allocations: 151 kB / 402.7 MB, free: 29.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2873, allocations: 4 kB / 402.7 MB, free: 29.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.2873, allocations: 0 / 402.7 MB, free: 29.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2873, allocations: 0 / 402.7 MB, free: 29.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.2874, allocations: 27.92 kB / 402.8 MB, free: 29.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.2878, allocations: 291.4 kB / 403 MB, free: 29.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.2879, allocations: 94.36 kB / 403.1 MB, free: 29.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.2879, allocations: 43.48 kB / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.288, allocations: 7.938 kB / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.288, allocations: 38.56 kB / 403.2 MB, free: 29.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.288, allocations: 3.938 kB / 403.2 MB, free: 29.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002878/0.2883, allocations: 101.8 kB / 403.3 MB, free: 29.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.2884, allocations: 140.5 kB / 403.5 MB, free: 29.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2885, allocations: 151.2 kB / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.2885, allocations: 29.7 kB / 403.6 MB, free: 28.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.2885, allocations: 84.14 kB / 403.7 MB, free: 28.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.2886, allocations: 11.91 kB / 403.7 MB, free: 28.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.2886, allocations: 25.92 kB / 403.8 MB, free: 28.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.2887, allocations: 314.8 kB / 404.1 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.2887, allocations: 15.98 kB / 404.1 MB, free: 28.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.283e-05/0.2888, allocations: 49.14 kB / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.409e-05/0.2889, allocations: 65.08 kB / 404.2 MB, free: 28.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2889, allocations: 3.938 kB / 404.2 MB, free: 28.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001249/0.289, allocations: 89.45 kB / 404.3 MB, free: 28.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.289, allocations: 4 kB / 404.3 MB, free: 28.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.289, allocations: 4 kB / 404.3 MB, free: 28.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2891, allocations: 3.938 kB / 404.3 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.2892, allocations: 15.98 kB / 404.3 MB, free: 28.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2892, allocations: 0 / 404.3 MB, free: 28.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.2892, allocations: 4 kB / 404.3 MB, free: 28.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.2892, allocations: 4 kB / 404.3 MB, free: 28.17 MB / 298.7 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 7.478e-05/0.2893, allocations: 133.9 kB / 404.4 MB, free: 28.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.2894, allocations: 57.55 kB / 404.5 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.2895, allocations: 15.86 kB / 404.5 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2895, allocations: 7.938 kB / 404.5 MB, free: 27.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2895, allocations: 0 / 404.5 MB, free: 27.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2895, allocations: 0 / 404.5 MB, free: 27.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.2896, allocations: 189.6 kB / 404.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2896, allocations: 0 / 404.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.2897, allocations: 12.08 kB / 404.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2897, allocations: 8 kB / 404.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.2897, allocations: 0 / 404.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2897, allocations: 128 / 404.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2897, allocations: 8 kB / 404.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.2901, allocations: 0.7692 MB / 405.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.2902, allocations: 100.9 kB / 405.6 MB, free: 26.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2902, allocations: 0 / 405.6 MB, free: 26.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.2903, allocations: 4 kB / 405.6 MB, free: 26.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.2903, allocations: 3.938 kB / 405.6 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.2903, allocations: 7.984 kB / 405.6 MB, free: 26.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.377e-05/0.2904, allocations: 119.1 kB / 405.7 MB, free: 26.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2904, allocations: 4 kB / 405.7 MB, free: 26.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003142/0.2907, allocations: 11.98 kB / 405.8 MB, free: 26.57 MB / 298.7 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 8.832e-05/0.2908, allocations: 95.25 kB / 405.8 MB, free: 26.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.2909, allocations: 39.92 kB / 405.9 MB, free: 26.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2909, allocations: 0 / 405.9 MB, free: 26.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.291, allocations: 12.36 kB / 405.9 MB, free: 26.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.2915, allocations: 44.03 kB / 405.9 MB, free: 26.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.2919, allocations: 347.5 kB / 406.3 MB, free: 25.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.292, allocations: 0.7043 MB / 407 MB, free: 25.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.081e-05/0.2921, allocations: 12.64 kB / 407 MB, free: 25.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.2921, allocations: 11.44 kB / 407 MB, free: 25.23 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2921, allocations: 0 / 407 MB, free: 25.23 MB / 298.7 MB Notification: Performance of Templates: time 0.002802/0.2949, allocations: 0.7942 MB / 407.8 MB, free: 24.45 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches