Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 109.2 kB / 17.17 MB, free: 6.344 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.0025/0.0025, allocations: 194.9 kB / 18.08 MB, free: 5.441 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.481/2.481, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 48.61 kB / 300.6 MB, free: 6.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1768, allocations: 49.45 MB / 350.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.006225/0.183, allocations: 1.956 MB / 352 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.1861, allocations: 1.044 MB / 353.1 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.1864, allocations: 8 kB / 353.1 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009064/0.1874, allocations: 148.4 kB / 353.2 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.1879, allocations: 95.7 kB / 353.3 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.189, allocations: 188.5 kB / 353.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.1894, allocations: 179.5 kB / 353.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.1897, allocations: 45.45 kB / 353.7 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.1899, allocations: 63.7 kB / 353.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1901, allocations: 71.62 kB / 353.8 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.1902, allocations: 4 kB / 353.8 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.1904, allocations: 47.97 kB / 353.9 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1906, allocations: 47.83 kB / 353.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1907, allocations: 71.44 kB / 354 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.1911, allocations: 160 kB / 354.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1911, allocations: 0 / 354.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1911, allocations: 0 / 354.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1912, allocations: 0 / 354.2 MB, free: 0.6719 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001242/0.1924, allocations: 0.5079 MB / 354.7 MB, free: 112 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.1925, allocations: 12.03 kB / 354.7 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1926, allocations: 16.75 kB / 354.7 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.1931, allocations: 266.7 kB / 355 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1932, allocations: 8.375 kB / 355 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.1932, allocations: 12.12 kB / 355 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.1938, allocations: 159.6 kB / 355.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1938, allocations: 0 / 355.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1939, allocations: 0 / 355.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1939, allocations: 8 kB / 355.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.1941, allocations: 43.91 kB / 355.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009066/0.195, allocations: 450.5 kB / 355.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.1955, allocations: 134.5 kB / 355.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1957, allocations: 59.42 kB / 355.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.1957, allocations: 7.938 kB / 355.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.196, allocations: 96.94 kB / 355.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.705e-06/0.196, allocations: 0 / 355.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006813/0.1967, allocations: 153.3 kB / 356.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.1969, allocations: 162.2 kB / 356.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.1974, allocations: 265 kB / 356.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.1974, allocations: 25.7 kB / 356.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1976, allocations: 124.3 kB / 356.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.1976, allocations: 16.19 kB / 356.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/0.1977, allocations: 41.64 kB / 356.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.198, allocations: 330.8 kB / 357 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1981, allocations: 23.98 kB / 357 MB, free: 13.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1983, allocations: 74.86 kB / 357.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.1986, allocations: 93.36 kB / 357.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1987, allocations: 0 / 357.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004675/0.1991, allocations: 129.4 kB / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.1992, allocations: 4 kB / 357.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1992, allocations: 3.984 kB / 357.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1992, allocations: 4 kB / 357.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1994, allocations: 19.94 kB / 357.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1994, allocations: 0 / 357.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.1996, allocations: 19.77 kB / 357.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1996, allocations: 4 kB / 357.4 MB, free: 13.08 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: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0002507/0.1999, allocations: 153.9 kB / 357.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.2001, allocations: 61.45 kB / 357.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.2003, allocations: 25.7 kB / 357.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2003, allocations: 4 kB / 357.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2003, allocations: 0 / 357.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2003, allocations: 3.938 kB / 357.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.2007, allocations: 233.5 kB / 357.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2007, allocations: 0 / 357.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.2008, allocations: 7.938 kB / 357.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2008, allocations: 12 kB / 357.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2009, allocations: 7.984 kB / 357.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.2009, allocations: 4 kB / 357.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2009, allocations: 0 / 357.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.2014, allocations: 167.4 kB / 358.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.2016, allocations: 120.8 kB / 358.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.2017, allocations: 0 / 358.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.2018, allocations: 11.98 kB / 358.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.2019, allocations: 7.938 kB / 358.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.2019, allocations: 4 kB / 358.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003446/0.2023, allocations: 200.4 kB / 358.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2023, allocations: 0 / 358.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004837/0.2028, allocations: 35.91 kB / 358.4 MB, free: 11.93 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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.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 (11): * Single equations (assignments): 9 * 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.001853/0.2047, allocations: 414.8 kB / 358.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.2051, allocations: 83.84 kB / 358.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2051, allocations: 0 / 358.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2053, allocations: 31.98 kB / 358.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/0.206, allocations: 72.7 kB / 359 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2072, allocations: 397.1 kB / 359.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.2077, allocations: 0.7322 MB / 360.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.2079, allocations: 19.44 kB / 360.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2079, allocations: 4 kB / 360.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of Templates: time 0.009622/0.2175, allocations: 2.673 MB / 362.8 MB, free: 7.621 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches