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.001024/0.001024, allocations: 89.58 kB / 17.31 MB, free: 5.59 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.001348/0.001348, allocations: 177.1 kB / 18.21 MB, free: 5.195 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.278/1.278, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002251/0.0002251, allocations: 4 kB / 302.1 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07561/0.07584, allocations: 50.42 MB / 352.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.001631/0.07751, allocations: 1.323 MB / 353.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007556/0.07829, allocations: 0.4988 MB / 354.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.07839, allocations: 7.938 kB / 354.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.07843, allocations: 3.984 kB / 354.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.07856, allocations: 15.88 kB / 354.3 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.07882, allocations: 43.89 kB / 354.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.07893, allocations: 55.73 kB / 354.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.07903, allocations: 23.97 kB / 354.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.676e-05/0.0791, allocations: 19.88 kB / 354.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.07916, allocations: 23.86 kB / 354.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.07919, allocations: 4 kB / 354.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.0792, allocations: 0 / 354.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.07926, allocations: 15.91 kB / 354.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.07932, allocations: 57.45 kB / 354.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.328e-05/0.0794, allocations: 39.92 kB / 354.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.0794, allocations: 0 / 354.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.07941, allocations: 4 kB / 354.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.07942, allocations: 0 / 354.6 MB, free: 1.531 MB / 286.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.0004289/0.07985, allocations: 384.4 kB / 355 MB, free: 1.109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.07989, allocations: 8.031 kB / 355 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.07993, allocations: 12.75 kB / 355 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.08013, allocations: 200 kB / 355.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.08015, allocations: 8.375 kB / 355.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.08017, allocations: 4.375 kB / 355.2 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.08046, allocations: 139 kB / 355.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.08048, allocations: 3.938 kB / 355.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.0805, allocations: 4 kB / 355.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.08051, allocations: 4 kB / 355.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.734e-05/0.08062, allocations: 35.91 kB / 355.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.08095, allocations: 287.4 kB / 355.7 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.08109, allocations: 98.42 kB / 355.8 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.08118, allocations: 47.48 kB / 355.8 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.08121, allocations: 0 / 355.8 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.08124, allocations: 42.5 kB / 355.9 MB, free: 56 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.08124, allocations: 0 / 355.9 MB, free: 56 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003049/0.08155, allocations: 109.7 kB / 356 MB, free: 15.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.08163, allocations: 132.5 kB / 356.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.08176, allocations: 152.7 kB / 356.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.08178, allocations: 25.7 kB / 356.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.08183, allocations: 92.12 kB / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.08185, allocations: 16.12 kB / 356.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.08188, allocations: 9.719 kB / 356.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.08198, allocations: 330.7 kB / 356.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.08204, allocations: 8 kB / 356.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/0.08211, allocations: 53.08 kB / 356.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.08223, allocations: 69.08 kB / 356.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.08224, allocations: 4 kB / 356.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001636/0.08241, allocations: 89.45 kB / 356.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.08243, allocations: 4 kB / 357 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.08245, allocations: 3.984 kB / 357 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.08247, allocations: 4 kB / 357 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.08256, allocations: 20.17 kB / 357 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.08258, allocations: 3.938 kB / 357 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.08263, allocations: 8 kB / 357 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.08265, allocations: 4.125 kB / 357 MB, free: 14.82 MB / 302.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.591e-05/0.08274, allocations: 125.8 kB / 357.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.982e-05/0.08285, allocations: 69.53 kB / 357.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.08289, allocations: 11.88 kB / 357.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.0829, allocations: 4.094 kB / 357.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.08291, allocations: 0 / 357.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.08292, allocations: 4 kB / 357.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.0831, allocations: 185.5 kB / 357.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.08311, allocations: 0 / 357.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.08319, allocations: 19.92 kB / 357.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.0832, allocations: 0 / 357.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.08322, allocations: 8 kB / 357.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.08323, allocations: 0 / 357.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.08323, allocations: 3.938 kB / 357.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.08344, allocations: 201.9 kB / 357.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.08352, allocations: 97 kB / 357.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.08354, allocations: 3.984 kB / 357.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/0.08364, allocations: 12 kB / 357.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.08367, allocations: 0 / 357.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.08368, allocations: 4 kB / 357.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.606e-05/0.08376, allocations: 111.2 kB / 357.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08377, allocations: 0 / 357.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.08402, allocations: 8 kB / 357.8 MB, free: 13.86 MB / 302.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 8.674e-05/0.08412, allocations: 107.1 kB / 357.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.08427, allocations: 51.91 kB / 358 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.08428, allocations: 0 / 358 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/0.08433, allocations: 8 kB / 358 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.08475, allocations: 51.83 kB / 358.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.08512, allocations: 254 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.08536, allocations: 0.7083 MB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.08539, allocations: 11.44 kB / 359 MB, free: 12.6 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.0854, allocations: 0 / 359 MB, free: 12.6 MB / 302.1 MB Notification: Performance of Templates: time 0.002224/0.08763, allocations: 1 MB / 360 MB, free: 11.61 MB / 302.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