Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 227.7 MB / 247.7 MB, free: 10.37 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003029/0.003029, allocations: 68.67 kB / 307.9 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1364, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003604/0.1401, allocations: 1.918 MB / 360.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.1423, allocations: 1.22 MB / 361.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1424, allocations: 3.938 kB / 361.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006674/0.1431, allocations: 155.5 kB / 361.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.1437, allocations: 158.8 kB / 361.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.1443, allocations: 167.5 kB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.1446, allocations: 207.4 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1447, allocations: 29.67 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1449, allocations: 79.69 kB / 362.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.145, allocations: 79.62 kB / 362.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.145, allocations: 12 kB / 362.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.1452, allocations: 51.91 kB / 362.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.1453, allocations: 51.83 kB / 362.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.1454, allocations: 71.48 kB / 362.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.1457, allocations: 215.6 kB / 362.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1458, allocations: 0 / 362.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1458, allocations: 0 / 362.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1458, allocations: 0 / 362.8 MB, free: 9.543 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.0008343/0.1466, allocations: 0.5273 MB / 363.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1467, allocations: 8.031 kB / 363.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.1468, allocations: 24.66 kB / 363.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.1471, allocations: 262.8 kB / 363.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1472, allocations: 8.375 kB / 363.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1472, allocations: 8.125 kB / 363.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.1476, allocations: 163.5 kB / 363.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1476, allocations: 3.984 kB / 363.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1476, allocations: 8 kB / 363.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1476, allocations: 0 / 363.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1477, allocations: 39.91 kB / 363.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.1483, allocations: 454.6 kB / 364.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.1486, allocations: 138.5 kB / 364.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1487, allocations: 55.42 kB / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1488, allocations: 0 / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.149, allocations: 97.03 kB / 364.6 MB, free: 7.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.149, allocations: 3.938 kB / 364.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004061/0.1494, allocations: 153.2 kB / 364.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.1495, allocations: 166.6 kB / 364.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.1499, allocations: 273 kB / 365.2 MB, free: 6.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1499, allocations: 33.7 kB / 365.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.15, allocations: 120.3 kB / 365.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.1501, allocations: 23.86 kB / 365.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.1501, allocations: 25.72 kB / 365.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1503, allocations: 338.8 kB / 365.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.167e-05/0.1504, allocations: 27.92 kB / 365.7 MB, free: 6.301 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1505, allocations: 82.8 kB / 365.8 MB, free: 6.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.1507, allocations: 93.36 kB / 365.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1507, allocations: 0 / 365.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002439/0.1509, allocations: 125.4 kB / 366 MB, free: 5.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.151, allocations: 8 kB / 366 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.151, allocations: 0 / 366 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.151, allocations: 4 kB / 366 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.1511, allocations: 11.98 kB / 366.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1511, allocations: 12.09 kB / 366.1 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.1512, allocations: 15.78 kB / 366.1 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1512, allocations: 4 kB / 366.1 MB, free: 5.902 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.0001492/0.1514, allocations: 145.8 kB / 366.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1515, allocations: 73.34 kB / 366.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.1515, allocations: 25.7 kB / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1516, allocations: 4 kB / 366.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1516, allocations: 4.062 kB / 366.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1516, allocations: 3.938 kB / 366.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.1518, allocations: 229.6 kB / 366.6 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1518, allocations: 4 kB / 366.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.1519, allocations: 4 kB / 366.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1519, allocations: 3.984 kB / 366.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1519, allocations: 4 kB / 366.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1519, allocations: 3.938 kB / 366.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1519, allocations: 0 / 366.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1522, allocations: 187.2 kB / 366.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1523, allocations: 104.8 kB / 366.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.1524, allocations: 12.06 kB / 366.9 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.1524, allocations: 7.984 kB / 366.9 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1525, allocations: 7.938 kB / 366.9 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1525, allocations: 12 kB / 366.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.1527, allocations: 200.5 kB / 367.1 MB, free: 4.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1527, allocations: 3.938 kB / 367.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.153, allocations: 35.98 kB / 367.1 MB, free: 4.738 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.001463/0.1545, allocations: 419.2 kB / 367.5 MB, free: 4.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.1548, allocations: 88.09 kB / 367.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1548, allocations: 0 / 367.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.1549, allocations: 27.98 kB / 367.7 MB, free: 4.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1552, allocations: 70.22 kB / 367.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005946/0.1559, allocations: 367.6 kB / 368.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.1562, allocations: 0.7357 MB / 368.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.1563, allocations: 23.42 kB / 368.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1563, allocations: 0 / 368.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of Templates: time 0.005487/0.1618, allocations: 2.755 MB / 371.6 MB, free: 380 kB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches