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.001197/0.001197, allocations: 108.9 kB / 16.51 MB, free: 6.707 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.001253/0.001253, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 38.16 kB / 299.9 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1178, allocations: 49.45 MB / 349.4 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003898/0.1217, allocations: 1.96 MB / 351.4 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1236, allocations: 1.13 MB / 352.5 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1237, allocations: 4 kB / 352.5 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.1241, allocations: 55.8 kB / 352.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.1245, allocations: 87.72 kB / 352.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1256, allocations: 225.8 kB / 352.9 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.1259, allocations: 163.5 kB / 353 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1261, allocations: 37.53 kB / 353 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.1263, allocations: 63.66 kB / 353.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1264, allocations: 83.61 kB / 353.2 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.1265, allocations: 4 kB / 353.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.1267, allocations: 55.95 kB / 353.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.418e-05/0.1268, allocations: 47.78 kB / 353.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.551e-05/0.1269, allocations: 75.47 kB / 353.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.1273, allocations: 231.5 kB / 353.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1273, allocations: 8 kB / 353.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1273, allocations: 0 / 353.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1273, allocations: 0 / 353.6 MB, free: 0.6328 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.0009075/0.1282, allocations: 0.5273 MB / 354.1 MB, free: 52 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.1283, allocations: 12.03 kB / 354.1 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.1284, allocations: 24.66 kB / 354.2 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.1289, allocations: 287.6 kB / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1289, allocations: 8.375 kB / 354.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.129, allocations: 8.125 kB / 354.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.1294, allocations: 188.2 kB / 354.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1294, allocations: 4 kB / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.1295, allocations: 0 / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1295, allocations: 4 kB / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.1297, allocations: 47.89 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.1304, allocations: 466.6 kB / 355.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.1307, allocations: 146.5 kB / 355.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1308, allocations: 63.36 kB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.1309, allocations: 7.938 kB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.1311, allocations: 93.03 kB / 355.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.1311, allocations: 0 / 355.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004452/0.1316, allocations: 165.3 kB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.1317, allocations: 195.8 kB / 355.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.1321, allocations: 330.6 kB / 356.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1321, allocations: 29.7 kB / 356.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.1322, allocations: 124.4 kB / 356.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.1322, allocations: 28.17 kB / 356.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.1323, allocations: 37.7 kB / 356.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1324, allocations: 334.8 kB / 356.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.1325, allocations: 23.98 kB / 356.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1327, allocations: 95.7 kB / 356.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.1328, allocations: 97.02 kB / 356.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1329, allocations: 0 / 356.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003023/0.1332, allocations: 145.3 kB / 357 MB, free: 12.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1332, allocations: 4 kB / 357 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1332, allocations: 0 / 357 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1332, allocations: 4 kB / 357 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1334, allocations: 24.3 kB / 357.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.1334, allocations: 7.938 kB / 357.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.609e-05/0.1335, allocations: 7.938 kB / 357.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1335, allocations: 8 kB / 357.1 MB, free: 12.76 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.0001674/0.1337, allocations: 157.9 kB / 357.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.974e-05/0.1338, allocations: 73.34 kB / 357.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.1339, allocations: 25.72 kB / 357.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1339, allocations: 3.984 kB / 357.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1339, allocations: 4 kB / 357.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.1339, allocations: 3.938 kB / 357.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1341, allocations: 249.4 kB / 357.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1342, allocations: 4 kB / 357.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.1342, allocations: 15.98 kB / 357.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1342, allocations: 4.062 kB / 357.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1343, allocations: 4 kB / 357.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1343, allocations: 0 / 357.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.1343, allocations: 7.922 kB / 357.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.1346, allocations: 183.3 kB / 357.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1347, allocations: 108.9 kB / 357.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.1347, allocations: 7.984 kB / 357.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.1348, allocations: 4 kB / 357.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.1349, allocations: 11.92 kB / 357.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1349, allocations: 11.94 kB / 357.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.1352, allocations: 237.9 kB / 358.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.096e-06/0.1352, allocations: 0 / 358.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1355, allocations: 47.83 kB / 358.2 MB, free: 11.51 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.001118/0.1366, allocations: 441.9 kB / 358.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.1369, allocations: 79.91 kB / 358.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1369, allocations: 0 / 358.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.137, allocations: 35.92 kB / 358.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.1375, allocations: 80.8 kB / 358.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.1382, allocations: 431.7 kB / 359.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1386, allocations: 0.744 MB / 360 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.1387, allocations: 29.52 kB / 360 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.1388, allocations: 23.44 kB / 360.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1388, allocations: 0 / 360.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of Templates: time 0.007624/0.1464, allocations: 2.808 MB / 362.9 MB, free: 6.977 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/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