Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.86 kB / 306.9 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1509, allocations: 50.54 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004374/0.1553, allocations: 1.908 MB / 359.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.1579, allocations: 1.226 MB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.1581, allocations: 4 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.1589, allocations: 147.5 kB / 360.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.1594, allocations: 155.4 kB / 360.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007484/0.1602, allocations: 170.8 kB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.1605, allocations: 207.4 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1607, allocations: 45.64 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1608, allocations: 71.7 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.161, allocations: 87.56 kB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.161, allocations: 8 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.1612, allocations: 51.97 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.1613, allocations: 43.83 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1614, allocations: 79.42 kB / 361.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.1618, allocations: 215.6 kB / 361.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1618, allocations: 0 / 361.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1618, allocations: 4 kB / 361.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1618, allocations: 0 / 361.9 MB, free: 9.707 MB / 302.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.001052/0.1629, allocations: 0.5157 MB / 362.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.163, allocations: 12.03 kB / 362.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.163, allocations: 20.66 kB / 362.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.1634, allocations: 270.7 kB / 362.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1635, allocations: 4.375 kB / 362.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1635, allocations: 12.12 kB / 362.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.1639, allocations: 163.6 kB / 362.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1639, allocations: 4 kB / 362.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.164, allocations: 0 / 362.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.164, allocations: 0 / 362.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1641, allocations: 43.91 kB / 362.9 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007455/0.1648, allocations: 454.5 kB / 363.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.1652, allocations: 130.5 kB / 363.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1653, allocations: 55.42 kB / 363.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.1653, allocations: 3.938 kB / 363.5 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.1656, allocations: 97.03 kB / 363.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.1656, allocations: 0 / 363.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.00051/0.1661, allocations: 161.2 kB / 363.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.1663, allocations: 166.6 kB / 363.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.1667, allocations: 276.9 kB / 364.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.1667, allocations: 25.7 kB / 364.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1668, allocations: 128.4 kB / 364.4 MB, free: 6.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.1669, allocations: 19.8 kB / 364.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.167, allocations: 29.72 kB / 364.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1672, allocations: 338.7 kB / 364.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.883e-05/0.1673, allocations: 27.98 kB / 364.8 MB, free: 6.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1674, allocations: 70.86 kB / 364.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.1676, allocations: 89.11 kB / 364.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1676, allocations: 0 / 364.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002762/0.1679, allocations: 133.6 kB / 365.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.1679, allocations: 7.125 kB / 365.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1679, allocations: 3.984 kB / 365.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.168, allocations: 8.156 kB / 365.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1681, allocations: 19.92 kB / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1681, allocations: 3.984 kB / 365.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-05/0.1682, allocations: 19.78 kB / 365.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.1682, allocations: 4 kB / 365.1 MB, free: 6.07 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.0001948/0.1684, allocations: 149.8 kB / 365.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1686, allocations: 69.41 kB / 365.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.1686, allocations: 25.77 kB / 365.4 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1686, allocations: 4 kB / 365.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1686, allocations: 0 / 365.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.1687, allocations: 7.938 kB / 365.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.169, allocations: 229.6 kB / 365.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.169, allocations: 0 / 365.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.169, allocations: 11.92 kB / 365.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.169, allocations: 0 / 365.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.169, allocations: 8 kB / 365.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.169, allocations: 0 / 365.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1691, allocations: 4 kB / 365.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1694, allocations: 179.2 kB / 365.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.1695, allocations: 108.8 kB / 365.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.1696, allocations: 4 kB / 365.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.1696, allocations: 11.98 kB / 365.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.1697, allocations: 11.94 kB / 365.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1697, allocations: 4 kB / 365.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.17, allocations: 200.5 kB / 366.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.17, allocations: 4 kB / 366.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.1703, allocations: 31.98 kB / 366.2 MB, free: 4.918 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.001201/0.1715, allocations: 416.4 kB / 366.6 MB, free: 4.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.1718, allocations: 83.84 kB / 366.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1718, allocations: 0 / 366.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/0.1719, allocations: 31.92 kB / 366.7 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.1724, allocations: 70.67 kB / 366.8 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.1731, allocations: 346.1 kB / 367.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.1735, allocations: 0.7357 MB / 367.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.911e-05/0.1736, allocations: 21.53 kB / 367.9 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.1737, allocations: 27.42 kB / 367.9 MB, free: 3.277 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1737, allocations: 0 / 367.9 MB, free: 3.277 MB / 302.1 MB Notification: Performance of Templates: time 0.007348/0.1811, allocations: 2.55 MB / 370.4 MB, free: 0.75 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches