Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007704/0.0007702, allocations: 101.1 kB / 17.01 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008799/0.00088, allocations: 194.3 kB / 17.91 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.000264, allocations: 8 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1263, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002359/0.1287, allocations: 1.564 MB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1307, allocations: 1.193 MB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1308, allocations: 11.88 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.1312, allocations: 59.8 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.1316, allocations: 103.6 kB / 361.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.1322, allocations: 191.6 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1324, allocations: 151.5 kB / 361.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1326, allocations: 25.53 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1327, allocations: 71.62 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1328, allocations: 63.69 kB / 362.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.1328, allocations: 8 kB / 362.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.133, allocations: 51.97 kB / 362.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.133, allocations: 39.83 kB / 362.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.1331, allocations: 57.58 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.1333, allocations: 171.9 kB / 362.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1333, allocations: 4 kB / 362.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1333, allocations: 0 / 362.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1334, allocations: 3.938 kB / 362.4 MB, free: 9.656 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006807/0.134, allocations: 0.5 MB / 362.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1341, allocations: 12.03 kB / 362.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.1341, allocations: 23.72 kB / 362.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1345, allocations: 278.4 kB / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.1345, allocations: 4 kB / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.1346, allocations: 11.94 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.1349, allocations: 166.9 kB / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1349, allocations: 0 / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1349, allocations: 4 kB / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.135, allocations: 0 / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1351, allocations: 35.92 kB / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.1356, allocations: 394.3 kB / 363.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.1359, allocations: 115.9 kB / 363.9 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.136, allocations: 46.56 kB / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.136, allocations: 7.984 kB / 364 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.1362, allocations: 75.38 kB / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.1362, allocations: 0 / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003817/0.1366, allocations: 153.5 kB / 364.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.1367, allocations: 166.2 kB / 364.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.1371, allocations: 330.7 kB / 364.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1371, allocations: 33.69 kB / 364.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.1372, allocations: 124.1 kB / 364.8 MB, free: 6.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1372, allocations: 15.75 kB / 364.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.1372, allocations: 4 kB / 364.8 MB, free: 6.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1374, allocations: 334.8 kB / 365.2 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.1374, allocations: 27.98 kB / 365.2 MB, free: 6.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.1376, allocations: 94.66 kB / 365.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.802e-05/0.1377, allocations: 28 kB / 365.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1377, allocations: 3.953 kB / 365.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002251/0.1379, allocations: 133.2 kB / 365.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1379, allocations: 4 kB / 365.5 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1379, allocations: 3.938 kB / 365.5 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.138, allocations: 4 kB / 365.5 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1381, allocations: 16 kB / 365.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1381, allocations: 7.969 kB / 365.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.1382, allocations: 8.125 kB / 365.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1382, allocations: 4.312 kB / 365.5 MB, free: 6.215 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001502/0.1384, allocations: 161.8 kB / 365.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.1384, allocations: 69.36 kB / 365.7 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.1385, allocations: 33.64 kB / 365.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1385, allocations: 0 / 365.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1385, allocations: 4 kB / 365.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1385, allocations: 4.062 kB / 365.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.1387, allocations: 241.6 kB / 366 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1388, allocations: 0 / 366 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.1388, allocations: 11.95 kB / 366 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1388, allocations: 4 kB / 366 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1389, allocations: 7.984 kB / 366 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1389, allocations: 4 kB / 366 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1389, allocations: 0 / 366 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1391, allocations: 162.5 kB / 366.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.1392, allocations: 120.8 kB / 366.3 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.1393, allocations: 7.938 kB / 366.3 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.1393, allocations: 4 kB / 366.3 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.1394, allocations: 11.98 kB / 366.3 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1394, allocations: 4 kB / 366.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.1397, allocations: 245.9 kB / 366.6 MB, free: 5.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1397, allocations: 4 kB / 366.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1399, allocations: 32 kB / 366.6 MB, free: 5 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.001013/0.141, allocations: 430.8 kB / 367 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.1412, allocations: 67.91 kB / 367.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1412, allocations: 4 kB / 367.1 MB, free: 4.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.237e-05/0.1413, allocations: 24.23 kB / 367.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1417, allocations: 68.48 kB / 367.2 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.1423, allocations: 396.4 kB / 367.6 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1427, allocations: 0.7478 MB / 368.3 MB, free: 3.352 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.889e-05/0.1428, allocations: 25.53 kB / 368.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.1428, allocations: 23.44 kB / 368.4 MB, free: 3.305 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1428, allocations: 0 / 368.4 MB, free: 3.305 MB / 302.1 MB Notification: Performance of Templates: time 0.006245/0.1491, allocations: 2.61 MB / 371 MB, free: 0.7109 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches