Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 109.7 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.002825/0.002825, 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 1.994/1.994, allocations: 222.9 MB / 241.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 45.42 kB / 300.6 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1725, allocations: 49.45 MB / 350.1 MB, free: 4.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.007412/0.18, allocations: 1.933 MB / 352 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.184, allocations: 1.048 MB / 353 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.1844, allocations: 7.938 kB / 353.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.1855, allocations: 139.7 kB / 353.2 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.1862, allocations: 103.7 kB / 353.3 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.1874, allocations: 178.9 kB / 353.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.188, allocations: 183.5 kB / 353.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.1882, allocations: 25.53 kB / 353.7 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.1885, allocations: 75.64 kB / 353.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1888, allocations: 67.62 kB / 353.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.1888, allocations: 4 kB / 353.8 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.1891, allocations: 47.97 kB / 353.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.1893, allocations: 43.83 kB / 353.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.1895, allocations: 67.55 kB / 354 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.19, allocations: 147.9 kB / 354.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.19, allocations: 0 / 354.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.19, allocations: 0 / 354.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.19, allocations: 0 / 354.1 MB, free: 0.5156 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001416/0.1915, allocations: 0.5118 MB / 354.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.1916, allocations: 12.03 kB / 354.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.1917, allocations: 20.75 kB / 354.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/0.1923, allocations: 262.8 kB / 354.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.1924, allocations: 8.312 kB / 354.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.1924, allocations: 8.125 kB / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.1931, allocations: 150.6 kB / 355.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1931, allocations: 0 / 355.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.1931, allocations: 8 kB / 355.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.1932, allocations: 0 / 355.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.1934, allocations: 31.92 kB / 355.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.1943, allocations: 366.3 kB / 355.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.1948, allocations: 107.9 kB / 355.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.195, allocations: 46.56 kB / 355.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.1951, allocations: 0 / 355.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.1954, allocations: 79.27 kB / 355.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.266e-06/0.1954, allocations: 0 / 355.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007215/0.1961, allocations: 137.4 kB / 355.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.1963, allocations: 140.5 kB / 356 MB, free: 14.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.1969, allocations: 264.9 kB / 356.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.1969, allocations: 25.7 kB / 356.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1971, allocations: 120.1 kB / 356.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.1972, allocations: 23.73 kB / 356.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.907e-05/0.1973, allocations: 33.95 kB / 356.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.1975, allocations: 326.8 kB / 356.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1977, allocations: 23.98 kB / 356.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1979, allocations: 70 kB / 356.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.1982, allocations: 76.25 kB / 356.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.1982, allocations: 256 / 356.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004489/0.1987, allocations: 113.4 kB / 357 MB, free: 13.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.1987, allocations: 11.98 kB / 357 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1988, allocations: 128 / 357 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.1988, allocations: 8 kB / 357 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.199, allocations: 8 kB / 357.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.199, allocations: 7.938 kB / 357.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.1992, allocations: 15.83 kB / 357.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1992, allocations: 8 kB / 357.1 MB, free: 13.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002509/0.1995, allocations: 137.8 kB / 357.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.1997, allocations: 57.45 kB / 357.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1998, allocations: 29.75 kB / 357.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.1998, allocations: 4 kB / 357.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1998, allocations: 0 / 357.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.1999, allocations: 3.938 kB / 357.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.2002, allocations: 225.6 kB / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.2002, allocations: 7.938 kB / 357.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.2003, allocations: 11.98 kB / 357.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2003, allocations: 0 / 357.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2004, allocations: 0 / 357.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2004, allocations: 4 kB / 357.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2004, allocations: 0 / 357.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.2009, allocations: 170.3 kB / 357.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.2011, allocations: 100.9 kB / 357.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.2012, allocations: 0 / 357.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.2014, allocations: 11.98 kB / 357.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.2014, allocations: 4 kB / 357.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.2015, allocations: 12 kB / 357.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003885/0.2019, allocations: 196.4 kB / 358 MB, free: 12.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2019, allocations: 0 / 358 MB, free: 12.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005153/0.2024, allocations: 32 kB / 358.1 MB, free: 12.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002032/0.2045, allocations: 413.9 kB / 358.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.205, allocations: 72.09 kB / 358.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.205, allocations: 3.938 kB / 358.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.2052, allocations: 23.94 kB / 358.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007978/0.206, allocations: 56.61 kB / 358.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.2072, allocations: 376.5 kB / 359 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.2078, allocations: 0.7322 MB / 359.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/0.2079, allocations: 19.44 kB / 359.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2079, allocations: 0 / 359.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Templates: time 0.01041/0.2183, allocations: 2.571 MB / 362.3 MB, free: 7.969 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches