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.0007621/0.0007621, allocations: 88.3 kB / 16.65 MB, free: 6.535 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.001063/0.001063, allocations: 173.1 kB / 17.56 MB, free: 6.184 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.645/1.645, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 8.438 kB / 301.4 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1275, allocations: 50.41 MB / 351.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002959/0.1305, allocations: 1.609 MB / 353.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1327, allocations: 1.017 MB / 354.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.133, allocations: 3.938 kB / 354.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.1338, allocations: 139.7 kB / 354.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004154/0.1343, allocations: 107.6 kB / 354.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007147/0.135, allocations: 178.8 kB / 354.9 MB, free: 388 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.1353, allocations: 183.5 kB / 355.1 MB, free: 204 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1355, allocations: 33.55 kB / 355.1 MB, free: 172 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1357, allocations: 75.52 kB / 355.2 MB, free: 96 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1358, allocations: 63.69 kB / 355.2 MB, free: 32 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.1358, allocations: 4 kB / 355.2 MB, free: 28 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.136, allocations: 47.91 kB / 355.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.1361, allocations: 43.83 kB / 355.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1362, allocations: 85.2 kB / 355.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.1366, allocations: 199.6 kB / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1366, allocations: 3.938 kB / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1366, allocations: 0 / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1366, allocations: 0 / 355.6 MB, free: 15.65 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.0008216/0.1374, allocations: 496.2 kB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1375, allocations: 8.031 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.1376, allocations: 20.75 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.1381, allocations: 274.7 kB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1381, allocations: 4.375 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1381, allocations: 12.12 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.1385, allocations: 166.6 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1385, allocations: 4 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1385, allocations: 0 / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1385, allocations: 0 / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.1387, allocations: 39.92 kB / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.1393, allocations: 458.6 kB / 357.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.1396, allocations: 134.5 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.1398, allocations: 51.42 kB / 357.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.1398, allocations: 11.98 kB / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.14, allocations: 96.95 kB / 357.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.14, allocations: 0 / 357.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004162/0.1404, allocations: 157.6 kB / 357.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.1405, allocations: 162.3 kB / 357.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.1409, allocations: 261 kB / 357.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1409, allocations: 33.7 kB / 357.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.141, allocations: 120.3 kB / 358.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.141, allocations: 19.8 kB / 358.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.1411, allocations: 17.72 kB / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1412, allocations: 330.8 kB / 358.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.925e-05/0.1413, allocations: 27.98 kB / 358.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1414, allocations: 86.66 kB / 358.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1415, allocations: 89.11 kB / 358.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1415, allocations: 0 / 358.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002374/0.1418, allocations: 133.3 kB / 358.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1418, allocations: 4 kB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1418, allocations: 4.141 kB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1419, allocations: 11.94 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.1419, allocations: 8 kB / 358.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.142, allocations: 11.92 kB / 358.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1421, allocations: 19.78 kB / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1421, allocations: 8 kB / 358.8 MB, free: 12.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.0001447/0.1422, allocations: 137.8 kB / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.1423, allocations: 73.47 kB / 359 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.1424, allocations: 17.72 kB / 359 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1424, allocations: 4 kB / 359 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1424, allocations: 3.984 kB / 359 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1424, allocations: 3.938 kB / 359 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.1427, allocations: 229.7 kB / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1427, allocations: 0 / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.1428, allocations: 11.98 kB / 359.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1428, allocations: 0 / 359.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1429, allocations: 4.312 kB / 359.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1429, allocations: 4 kB / 359.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1429, allocations: 7.969 kB / 359.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1431, allocations: 175.3 kB / 359.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1433, allocations: 116.8 kB / 359.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.1433, allocations: 4 kB / 359.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.1434, allocations: 12 kB / 359.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.1434, allocations: 15.91 kB / 359.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1435, allocations: 4 kB / 359.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.1437, allocations: 192.5 kB / 359.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1437, allocations: 4 kB / 359.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.144, allocations: 24 kB / 359.8 MB, free: 10.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.001065/0.145, allocations: 430.2 kB / 360.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1453, allocations: 75.84 kB / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.1453, allocations: 0 / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.48e-05/0.1454, allocations: 27.94 kB / 360.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.1459, allocations: 70.08 kB / 360.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.1466, allocations: 377.2 kB / 360.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.1471, allocations: 0.7322 MB / 361.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.1472, allocations: 17.55 kB / 361.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.1472, allocations: 27.44 kB / 361.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of SimCode: time 5.2e-07/0.1472, allocations: 0 / 361.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of Templates: time 0.006913/0.1542, allocations: 2.39 MB / 364 MB, free: 6.93 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/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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches