Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.28 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1278, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003513/0.1314, allocations: 1.908 MB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1335, allocations: 1.305 MB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1336, allocations: 4 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1339, allocations: 75.59 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.1343, allocations: 127.4 kB / 362.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.1349, allocations: 234.6 kB / 362.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.1351, allocations: 179.6 kB / 362.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1353, allocations: 41.52 kB / 362.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1354, allocations: 87.56 kB / 362.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1355, allocations: 79.67 kB / 362.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1355, allocations: 12 kB / 362.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1357, allocations: 63.95 kB / 363 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-05/0.1358, allocations: 55.77 kB / 363.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1359, allocations: 87.41 kB / 363.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.1362, allocations: 251.1 kB / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1362, allocations: 0 / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1362, allocations: 0 / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1362, allocations: 0 / 363.4 MB, free: 8.824 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.0007239/0.137, allocations: 0.5427 MB / 363.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.137, allocations: 16.02 kB / 363.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.1371, allocations: 20.66 kB / 364 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.1376, allocations: 295.6 kB / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1376, allocations: 4.375 kB / 364.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1376, allocations: 12.12 kB / 364.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.138, allocations: 183.7 kB / 364.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.138, allocations: 7.938 kB / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.138, allocations: 0 / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.138, allocations: 0 / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.1382, allocations: 39.92 kB / 364.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.1388, allocations: 478.5 kB / 365 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.139, allocations: 138.5 kB / 365.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/0.1391, allocations: 59.42 kB / 365.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.1392, allocations: 8.062 kB / 365.2 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.1393, allocations: 97.03 kB / 365.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.1394, allocations: 0 / 365.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004171/0.1398, allocations: 169.2 kB / 365.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.1399, allocations: 191.9 kB / 365.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.1402, allocations: 338.9 kB / 365.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1403, allocations: 26.08 kB / 366 MB, free: 5.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.1404, allocations: 140.3 kB / 366.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1404, allocations: 19.75 kB / 366.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.1405, allocations: 33.7 kB / 366.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1406, allocations: 338.8 kB / 366.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.1407, allocations: 27.98 kB / 366.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1408, allocations: 99.64 kB / 366.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.141, allocations: 97.33 kB / 366.7 MB, free: 5.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.141, allocations: 4 kB / 366.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002374/0.1412, allocations: 133.3 kB / 366.8 MB, free: 4.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1413, allocations: 8 kB / 366.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1413, allocations: 0 / 366.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1413, allocations: 7.984 kB / 366.9 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1414, allocations: 19.94 kB / 366.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1414, allocations: 4 kB / 366.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.1415, allocations: 15.98 kB / 366.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.1415, allocations: 12 kB / 366.9 MB, free: 4.91 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.0001327/0.1417, allocations: 153.8 kB / 367.1 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.1418, allocations: 77.34 kB / 367.1 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.1418, allocations: 29.73 kB / 367.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1419, allocations: 0 / 367.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1419, allocations: 4 kB / 367.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.1419, allocations: 3.938 kB / 367.2 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.1421, allocations: 249.6 kB / 367.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1421, allocations: 4 kB / 367.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.1422, allocations: 19.92 kB / 367.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1422, allocations: 0 / 367.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1422, allocations: 4 kB / 367.4 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1422, allocations: 3.938 kB / 367.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1422, allocations: 0 / 367.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1425, allocations: 187.3 kB / 367.6 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1426, allocations: 116.8 kB / 367.7 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.1427, allocations: 8.109 kB / 367.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.1427, allocations: 15.91 kB / 367.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.1428, allocations: 11.94 kB / 367.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1428, allocations: 7.984 kB / 367.8 MB, free: 3.914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1431, allocations: 249.9 kB / 368 MB, free: 3.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1431, allocations: 4 kB / 368 MB, free: 3.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1434, allocations: 39.98 kB / 368.1 MB, free: 3.629 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.0009645/0.1443, allocations: 419.1 kB / 368.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.1446, allocations: 83.78 kB / 368.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1446, allocations: 0 / 368.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/0.1447, allocations: 44.42 kB / 368.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1451, allocations: 73.45 kB / 368.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.1457, allocations: 386.9 kB / 369.1 MB, free: 2.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.146, allocations: 0.7518 MB / 369.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.809e-05/0.1461, allocations: 21.55 kB / 369.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.1462, allocations: 19.44 kB / 369.8 MB, free: 1.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1462, allocations: 3.938 kB / 369.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of Templates: time 0.1886/0.3348, allocations: 2.942 MB / 372.8 MB, free: 19.2 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches