Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001201, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008335/0.0008334, allocations: 93.75 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002644, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3603, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002256/0.3626, allocations: 1.327 MB / 413.4 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3639, allocations: 0.7346 MB / 414.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.364, allocations: 4.5 kB / 414.1 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.3641, allocations: 4.688 kB / 414.1 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.3643, allocations: 15.91 kB / 414.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.3646, allocations: 52.44 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3648, allocations: 52.53 kB / 414.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3649, allocations: 17.39 kB / 414.3 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.3651, allocations: 31.84 kB / 414.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.3652, allocations: 27.2 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3652, allocations: 3.938 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.3653, allocations: 4 kB / 414.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.3653, allocations: 19.91 kB / 414.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.3654, allocations: 53.45 kB / 414.4 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.3656, allocations: 63.72 kB / 414.5 MB, free: 23.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3656, allocations: 4 kB / 414.5 MB, free: 23.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3656, allocations: 0 / 414.5 MB, free: 23.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3656, allocations: 2.312 kB / 414.5 MB, free: 23.44 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.0005205/0.3661, allocations: 376.7 kB / 414.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3662, allocations: 8.031 kB / 414.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.3664, allocations: 28.83 kB / 414.9 MB, free: 22.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3666, allocations: 204 kB / 415.1 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3667, allocations: 4.375 kB / 415.1 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3667, allocations: 4.375 kB / 415.1 MB, free: 22.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.3671, allocations: 147 kB / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3671, allocations: 0 / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3671, allocations: 0 / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3672, allocations: 0 / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.3673, allocations: 35.92 kB / 415.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.3677, allocations: 295.3 kB / 415.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3678, allocations: 98.41 kB / 415.6 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.368, allocations: 47.48 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.368, allocations: 4 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3681, allocations: 38.5 kB / 415.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3681, allocations: 4 kB / 415.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004197/0.3685, allocations: 113.4 kB / 415.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.3686, allocations: 129 kB / 416 MB, free: 21.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3687, allocations: 156.9 kB / 416.1 MB, free: 21.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.3688, allocations: 29.64 kB / 416.2 MB, free: 21.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.3688, allocations: 88.14 kB / 416.2 MB, free: 21.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3688, allocations: 11.89 kB / 416.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.3688, allocations: 0 / 416.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.3689, allocations: 318.8 kB / 416.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.308e-05/0.369, allocations: 15.98 kB / 416.6 MB, free: 21.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.107e-05/0.3691, allocations: 53.14 kB / 416.6 MB, free: 20.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.3692, allocations: 73.02 kB / 416.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3693, allocations: 7.938 kB / 416.7 MB, free: 20.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002216/0.3695, allocations: 85.61 kB / 416.8 MB, free: 20.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3695, allocations: 8.031 kB / 416.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3695, allocations: 4 kB / 416.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3696, allocations: 0 / 416.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3697, allocations: 15.98 kB / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3697, allocations: 4 kB / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.3698, allocations: 4 kB / 416.8 MB, free: 20.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3698, allocations: 0 / 416.8 MB, free: 20.74 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 8.532e-05/0.3699, allocations: 129.7 kB / 417 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.3701, allocations: 69.53 kB / 417 MB, free: 20.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.3701, allocations: 15.86 kB / 417 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3701, allocations: 0 / 417 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3702, allocations: 4 kB / 417 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3702, allocations: 0 / 417 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.3704, allocations: 181.6 kB / 417.2 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3704, allocations: 4 kB / 417.2 MB, free: 20.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3705, allocations: 11.98 kB / 417.2 MB, free: 20.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3705, allocations: 8.094 kB / 417.2 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3706, allocations: 0 / 417.2 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3706, allocations: 0 / 417.2 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3706, allocations: 4 kB / 417.2 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.3708, allocations: 201.9 kB / 417.4 MB, free: 20.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.3709, allocations: 104.8 kB / 417.5 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.3709, allocations: 0 / 417.5 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3711, allocations: 4 kB / 417.5 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.3711, allocations: 7.984 kB / 417.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3711, allocations: 0 / 417.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.3712, allocations: 121.8 kB / 417.7 MB, free: 19.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3713, allocations: 0 / 417.7 MB, free: 19.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004011/0.3717, allocations: 8 kB / 417.7 MB, free: 19.77 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 0.0001252/0.3718, allocations: 111.2 kB / 417.8 MB, free: 19.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.372, allocations: 44.11 kB / 417.8 MB, free: 19.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.372, allocations: 0 / 417.8 MB, free: 19.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.511e-05/0.3721, allocations: 16.36 kB / 417.8 MB, free: 19.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.3727, allocations: 47.77 kB / 417.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.3732, allocations: 239.9 kB / 418.1 MB, free: 19.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.3734, allocations: 0.7018 MB / 418.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.02e-05/0.3734, allocations: 0.6719 kB / 418.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.3735, allocations: 11.44 kB / 418.8 MB, free: 18.54 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3735, allocations: 0 / 418.8 MB, free: 18.54 MB / 298.7 MB Notification: Performance of Templates: time 0.004157/0.3777, allocations: 0.7755 MB / 419.6 MB, free: 17.77 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches