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.001587/0.001588, allocations: 101.6 kB / 16.51 MB, free: 6.699 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.001896/0.001896, allocations: 194.2 kB / 17.42 MB, free: 6.09 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.507/1.507, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009586/0.000959, allocations: 59 kB / 300 MB, free: 6.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1199, allocations: 49.44 MB / 349.4 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004495/0.1245, allocations: 1.956 MB / 351.4 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.127, allocations: 1.048 MB / 352.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1272, allocations: 4 kB / 352.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009776/0.1282, allocations: 144.9 kB / 352.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.1285, allocations: 103.7 kB / 352.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.1292, allocations: 179 kB / 352.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.1295, allocations: 179.5 kB / 353 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.1297, allocations: 45.39 kB / 353 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.1299, allocations: 71.7 kB / 353.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1301, allocations: 75.62 kB / 353.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.1301, allocations: 4 kB / 353.2 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.1303, allocations: 47.97 kB / 353.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.182e-05/0.1304, allocations: 35.84 kB / 353.3 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1306, allocations: 67.48 kB / 353.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.131, allocations: 207.5 kB / 353.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.131, allocations: 0 / 353.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.131, allocations: 4 kB / 353.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.131, allocations: 0 / 353.5 MB, free: 0.6367 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.001209/0.1322, allocations: 0.504 MB / 354.1 MB, free: 80 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1323, allocations: 8.031 kB / 354.1 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.1324, allocations: 24.73 kB / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.1329, allocations: 270.6 kB / 354.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1329, allocations: 8.375 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.1329, allocations: 8.125 kB / 354.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.1333, allocations: 171.2 kB / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1334, allocations: 0 / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1334, allocations: 0 / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.1334, allocations: 4 kB / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1335, allocations: 39.91 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.1342, allocations: 454.5 kB / 355 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.1345, allocations: 130.5 kB / 355.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1346, allocations: 55.41 kB / 355.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.1347, allocations: 7.938 kB / 355.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.1349, allocations: 97.02 kB / 355.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.374e-06/0.1349, allocations: 0 / 355.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004961/0.1354, allocations: 157.3 kB / 355.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.1356, allocations: 162.6 kB / 355.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.136, allocations: 264.9 kB / 355.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.136, allocations: 37.64 kB / 355.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.1361, allocations: 120.3 kB / 356 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.1361, allocations: 23.86 kB / 356.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.1362, allocations: 33.7 kB / 356.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1364, allocations: 330.8 kB / 356.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.458e-05/0.1365, allocations: 27.98 kB / 356.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1366, allocations: 74.86 kB / 356.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1368, allocations: 89.11 kB / 356.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1368, allocations: 3.938 kB / 356.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002692/0.1371, allocations: 125.4 kB / 356.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.1371, allocations: 8 kB / 356.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1371, allocations: 0 / 356.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1371, allocations: 8.141 kB / 356.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.1372, allocations: 19.92 kB / 356.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.1373, allocations: 4 kB / 356.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1374, allocations: 19.78 kB / 356.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1374, allocations: 4 kB / 356.8 MB, free: 13.03 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.0001636/0.1376, allocations: 141.8 kB / 356.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.1377, allocations: 69.5 kB / 357 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.236e-05/0.1378, allocations: 21.7 kB / 357 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1378, allocations: 4.062 kB / 357 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1378, allocations: 4 kB / 357 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1378, allocations: 4.25 kB / 357 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.1381, allocations: 233.5 kB / 357.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1381, allocations: 4 kB / 357.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.1381, allocations: 7.938 kB / 357.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1381, allocations: 4 kB / 357.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1381, allocations: 0 / 357.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1382, allocations: 3.984 kB / 357.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1382, allocations: 4 kB / 357.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.1387, allocations: 175.3 kB / 357.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.1389, allocations: 112.8 kB / 357.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.1389, allocations: 4 kB / 357.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.139, allocations: 4 kB / 357.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.1391, allocations: 19.92 kB / 357.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1391, allocations: 4 kB / 357.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.1393, allocations: 196.5 kB / 357.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1393, allocations: 0 / 357.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.1397, allocations: 27.91 kB / 357.8 MB, free: 11.89 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.1408, allocations: 422.5 kB / 358.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.141, allocations: 83.78 kB / 358.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1411, allocations: 0 / 358.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.1411, allocations: 27.98 kB / 358.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.1416, allocations: 71.28 kB / 358.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/0.1423, allocations: 367.9 kB / 358.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1427, allocations: 0.736 MB / 359.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.1428, allocations: 25.53 kB / 359.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.1429, allocations: 19.42 kB / 359.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of SimCode: time 1.312e-06/0.1429, allocations: 4 kB / 359.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Templates: time 0.008038/0.151, allocations: 2.408 MB / 361.9 MB, free: 7.867 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