Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001586, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001814/0.001814, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.465/2.465, allocations: 222.9 MB / 241.7 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 52.77 kB / 300.6 MB, free: 6.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.186, allocations: 49.44 MB / 350.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.005234/0.1913, allocations: 1.607 MB / 351.7 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1929, allocations: 470.9 kB / 352.1 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.1932, allocations: 8 kB / 352.1 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.507e-05/0.1933, allocations: 3.938 kB / 352.1 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1935, allocations: 3.938 kB / 352.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.194, allocations: 39.89 kB / 352.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1942, allocations: 35.86 kB / 352.2 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.1944, allocations: 8 kB / 352.2 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1945, allocations: 23.91 kB / 352.3 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1946, allocations: 11.94 kB / 352.3 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.1947, allocations: 11.94 kB / 352.3 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.58e-05/0.1947, allocations: 0 / 352.3 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.1948, allocations: 11.92 kB / 352.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.1949, allocations: 19.81 kB / 352.3 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1951, allocations: 39.94 kB / 352.3 MB, free: 2.523 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1951, allocations: 0 / 352.3 MB, free: 2.523 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1951, allocations: 0 / 352.3 MB, free: 2.523 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1951, allocations: 0 / 352.3 MB, free: 2.523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007781/0.1959, allocations: 363.5 kB / 352.7 MB, free: 2.121 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/0.196, allocations: 16.02 kB / 352.7 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.1961, allocations: 8.844 kB / 352.7 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1964, allocations: 184.1 kB / 352.9 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1964, allocations: 4.375 kB / 352.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1965, allocations: 4.375 kB / 352.9 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.1969, allocations: 93.3 kB / 353 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1969, allocations: 4 kB / 353 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1969, allocations: 4 kB / 353 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.197, allocations: 4 kB / 353 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1971, allocations: 15.92 kB / 353 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.1976, allocations: 261.8 kB / 353.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1978, allocations: 53.14 kB / 353.3 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.1978, allocations: 13.78 kB / 353.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1979, allocations: 0 / 353.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.1979, allocations: 38.56 kB / 353.4 MB, free: 1.289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 7.875e-06/0.198, allocations: 3.984 kB / 353.4 MB, free: 1.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003809/0.1983, allocations: 73.45 kB / 353.5 MB, free: 1.207 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.1984, allocations: 81.11 kB / 353.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1986, allocations: 140.8 kB / 353.7 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1986, allocations: 25.7 kB / 353.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.1987, allocations: 88.12 kB / 353.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1988, allocations: 3.906 kB / 353.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.1988, allocations: 17.97 kB / 353.8 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.199, allocations: 326.8 kB / 354.1 MB, free: 500 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.1991, allocations: 8 kB / 354.1 MB, free: 492 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.1992, allocations: 21.64 kB / 354.2 MB, free: 464 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1993, allocations: 29.7 kB / 354.2 MB, free: 428 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1993, allocations: 4.062 kB / 354.2 MB, free: 424 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.1995, allocations: 61.53 kB / 354.3 MB, free: 356 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1995, allocations: 4 kB / 354.3 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.1996, allocations: 4 kB / 354.3 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1996, allocations: 0 / 354.3 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1997, allocations: 7.984 kB / 354.3 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1997, allocations: 3.984 kB / 354.3 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.1998, allocations: 4 kB / 354.3 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1998, allocations: 4.062 kB / 354.3 MB, free: 328 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001306/0.2, allocations: 125.7 kB / 354.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/0.2001, allocations: 37.64 kB / 354.4 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.2001, allocations: 11.88 kB / 354.5 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2001, allocations: 0 / 354.5 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2001, allocations: 0 / 354.5 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2002, allocations: 3.984 kB / 354.5 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.2005, allocations: 165.6 kB / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2005, allocations: 4 kB / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/0.2006, allocations: 12.02 kB / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2006, allocations: 0 / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2006, allocations: 0 / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2007, allocations: 3.938 kB / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2007, allocations: 0 / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.2009, allocations: 160.2 kB / 354.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.201, allocations: 101 kB / 354.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.2011, allocations: 0 / 354.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.2012, allocations: 7.938 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.2013, allocations: 0 / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.2013, allocations: 4 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.2014, allocations: 110.4 kB / 355 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2014, allocations: 0 / 355 MB, free: 15.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.2018, allocations: 4 kB / 355 MB, free: 15.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001526/0.202, allocations: 103.2 kB / 355.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.2022, allocations: 19.98 kB / 355.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2022, allocations: 0 / 355.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.2023, allocations: 15.92 kB / 355.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.2029, allocations: 15.97 kB / 355.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.2035, allocations: 203.2 kB / 355.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.2039, allocations: 0.6848 MB / 356.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.204, allocations: 15.44 kB / 356.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.204, allocations: 0 / 356.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Templates: time 0.003521/0.2075, allocations: 0.6629 MB / 356.7 MB, free: 13.7 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches