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.0008564/0.0008564, allocations: 101.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002667, allocations: 12 kB / 307.1 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1251, allocations: 51.52 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002551/0.1277, allocations: 1.591 MB / 360.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1298, allocations: 1.127 MB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.1301, allocations: 3.938 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.1307, allocations: 139.6 kB / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.1312, allocations: 127.6 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.1317, allocations: 138.9 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.132, allocations: 179.5 kB / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1321, allocations: 37.64 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1322, allocations: 71.64 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1324, allocations: 67.62 kB / 362.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1324, allocations: 4 kB / 362.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1326, allocations: 43.97 kB / 362.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.1326, allocations: 39.78 kB / 362.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.1327, allocations: 53.58 kB / 362.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.133, allocations: 159.9 kB / 362.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.133, allocations: 4 kB / 362.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.133, allocations: 0 / 362.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.133, allocations: 0 / 362.4 MB, free: 9.652 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.0007883/0.1338, allocations: 0.4923 MB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1338, allocations: 8.031 kB / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.1339, allocations: 19.72 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.1343, allocations: 257.7 kB / 363.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1343, allocations: 0 / 363.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1343, allocations: 12 kB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.1347, allocations: 159.5 kB / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1347, allocations: 0 / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1348, allocations: 8 kB / 363.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1348, allocations: 0 / 363.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1349, allocations: 39.91 kB / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006396/0.1355, allocations: 466.4 kB / 363.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.1358, allocations: 130.5 kB / 364 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/0.1359, allocations: 55.36 kB / 364 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.1359, allocations: 11.94 kB / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.1361, allocations: 89.09 kB / 364.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1362, allocations: 0 / 364.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004097/0.1366, allocations: 153.6 kB / 364.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.1367, allocations: 170.2 kB / 364.4 MB, free: 7.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.137, allocations: 269 kB / 364.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.137, allocations: 29.7 kB / 364.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.1371, allocations: 120.3 kB / 364.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1371, allocations: 23.73 kB / 364.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.1371, allocations: 0 / 364.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1373, allocations: 326.8 kB / 365.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.1373, allocations: 27.98 kB / 365.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.1374, allocations: 82.78 kB / 365.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.919e-05/0.1375, allocations: 35.98 kB / 365.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1375, allocations: 0 / 365.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002228/0.1378, allocations: 121.4 kB / 365.4 MB, free: 6.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1378, allocations: 8 kB / 365.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1378, allocations: 0 / 365.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1378, allocations: 4 kB / 365.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.1379, allocations: 19.92 kB / 365.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1379, allocations: 4.156 kB / 365.5 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.138, allocations: 11.94 kB / 365.5 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.138, allocations: 4.312 kB / 365.5 MB, free: 6.191 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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,hold1.u,hold1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.1382, allocations: 157.7 kB / 365.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.1383, allocations: 65.41 kB / 365.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.1383, allocations: 25.7 kB / 365.7 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1383, allocations: 4 kB / 365.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1384, allocations: 64 / 365.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1384, allocations: 4 kB / 365.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.1386, allocations: 233.6 kB / 366 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.1386, allocations: 7.953 kB / 366 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.1387, allocations: 7.938 kB / 366 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1387, allocations: 0 / 366 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.1387, allocations: 7.984 kB / 366 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1387, allocations: 3.938 kB / 366 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1387, allocations: 0 / 366 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.139, allocations: 183.3 kB / 366.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.936e-05/0.1391, allocations: 120.7 kB / 366.3 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.1391, allocations: 7.984 kB / 366.3 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.1392, allocations: 4 kB / 366.3 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.1392, allocations: 8 kB / 366.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.1392, allocations: 11.98 kB / 366.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.1394, allocations: 200.5 kB / 366.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1395, allocations: 0 / 366.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1397, allocations: 32 kB / 366.6 MB, free: 5.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001/0.1407, allocations: 421.1 kB / 367 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.141, allocations: 76.09 kB / 367 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.141, allocations: 4.062 kB / 367 MB, free: 4.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/0.1411, allocations: 24 kB / 367.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.1415, allocations: 70.3 kB / 367.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.1422, allocations: 357 kB / 367.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.1425, allocations: 0.74 MB / 368.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.818e-05/0.1426, allocations: 25.47 kB / 368.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.1427, allocations: 23.42 kB / 368.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1427, allocations: 0 / 368.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of Templates: time 0.006153/0.1488, allocations: 2.361 MB / 370.6 MB, free: 1.039 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