Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 101.6 kB / 17.59 MB, free: 5.426 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.001139/0.001139, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.447/1.447, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 43.55 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1114, allocations: 49.45 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.005055/0.1165, allocations: 1.899 MB / 352.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1188, allocations: 1.145 MB / 353.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.1191, allocations: 7.938 kB / 353.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.1195, allocations: 63.67 kB / 353.8 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.1199, allocations: 95.59 kB / 353.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000928/0.1209, allocations: 265.6 kB / 354.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.1212, allocations: 175.5 kB / 354.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1214, allocations: 29.56 kB / 354.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1216, allocations: 79.69 kB / 354.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1217, allocations: 75.69 kB / 354.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1217, allocations: 8 kB / 354.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.1219, allocations: 67.91 kB / 354.6 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1221, allocations: 55.81 kB / 354.7 MB, free: 484 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1222, allocations: 79.42 kB / 354.8 MB, free: 404 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.1226, allocations: 235.5 kB / 355 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1226, allocations: 0 / 355 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1226, allocations: 0 / 355 MB, free: 168 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.964e-06/0.1226, allocations: 4 kB / 355 MB, free: 164 kB / 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.0009477/0.1236, allocations: 0.5428 MB / 355.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1236, allocations: 11.89 kB / 355.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.288e-05/0.1237, allocations: 28.66 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.1241, allocations: 275.6 kB / 355.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1242, allocations: 12.31 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1242, allocations: 12.12 kB / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.1246, allocations: 184.2 kB / 356 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1246, allocations: 0 / 356 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1247, allocations: 0 / 356 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1247, allocations: 4 kB / 356 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1248, allocations: 43.91 kB / 356.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.1255, allocations: 470.5 kB / 356.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.1258, allocations: 142.5 kB / 356.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1259, allocations: 55.42 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.126, allocations: 11.98 kB / 356.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.1262, allocations: 97.03 kB / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.674e-06/0.1263, allocations: 0 / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004571/0.1267, allocations: 169.5 kB / 357 MB, free: 13.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.1268, allocations: 188 kB / 357.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.1272, allocations: 330.6 kB / 357.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.1273, allocations: 33.64 kB / 357.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.1274, allocations: 128.4 kB / 357.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.1274, allocations: 19.75 kB / 357.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.1275, allocations: 37.7 kB / 357.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1276, allocations: 338.8 kB / 358.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.1277, allocations: 27.98 kB / 358.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1278, allocations: 91.66 kB / 358.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.128, allocations: 101.1 kB / 358.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.128, allocations: 0 / 358.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000262/0.1283, allocations: 133.3 kB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1283, allocations: 8.156 kB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1283, allocations: 4 kB / 358.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1284, allocations: 0 / 358.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1285, allocations: 27.92 kB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1285, allocations: 320 / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-05/0.1286, allocations: 11.92 kB / 358.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1286, allocations: 16 kB / 358.5 MB, free: 12.28 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.0001472/0.1288, allocations: 150.3 kB / 358.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.1289, allocations: 81.34 kB / 358.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.129, allocations: 25.7 kB / 358.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.129, allocations: 4 kB / 358.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.129, allocations: 0 / 358.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.129, allocations: 3.938 kB / 358.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.1293, allocations: 253.5 kB / 359 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1293, allocations: 0 / 359 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.1294, allocations: 19.88 kB / 359 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1294, allocations: 0 / 359 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1294, allocations: 11.98 kB / 359 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1294, allocations: 64 / 359 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.1294, allocations: 8 kB / 359 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.1297, allocations: 179.3 kB / 359.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1298, allocations: 108.9 kB / 359.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.1299, allocations: 8 kB / 359.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.1299, allocations: 8 kB / 359.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.13, allocations: 19.86 kB / 359.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.13, allocations: 4 kB / 359.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.1303, allocations: 245.9 kB / 359.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1303, allocations: 0 / 359.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.1306, allocations: 39.91 kB / 359.6 MB, free: 11.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 (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.001105/0.1317, allocations: 439.8 kB / 360.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.132, allocations: 83.84 kB / 360.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.132, allocations: 0 / 360.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.1321, allocations: 27.98 kB / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.1326, allocations: 79.94 kB / 360.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.1333, allocations: 412.3 kB / 360.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1336, allocations: 0.7437 MB / 361.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.1337, allocations: 19.44 kB / 361.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1337, allocations: 0 / 361.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of Templates: time 0.005831/0.1395, allocations: 2.99 MB / 364.4 MB, free: 6.348 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches