Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001664/0.001665, allocations: 104 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001826/0.001826, allocations: 213.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.92 kB / 306.3 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1346, allocations: 50.54 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.005181/0.1399, allocations: 2.023 MB / 358.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.1429, allocations: 1.329 MB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.1431, allocations: 7.938 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.1435, allocations: 67.72 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.1439, allocations: 115.6 kB / 360.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008651/0.1448, allocations: 250.9 kB / 360.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.1451, allocations: 203.4 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1452, allocations: 52.27 kB / 360.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1453, allocations: 87.56 kB / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1455, allocations: 103.5 kB / 361 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.1455, allocations: 4 kB / 361 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.1457, allocations: 63.95 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.983e-05/0.1458, allocations: 55.77 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.146, allocations: 99.33 kB / 361.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.1463, allocations: 283.2 kB / 361.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1463, allocations: 4 kB / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1463, allocations: 0 / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1463, allocations: 0 / 361.5 MB, free: 9.781 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008727/0.1472, allocations: 0.5856 MB / 362.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1473, allocations: 8.031 kB / 362.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.1473, allocations: 32.56 kB / 362.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.1477, allocations: 311.4 kB / 362.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1477, allocations: 8.375 kB / 362.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.1478, allocations: 16.12 kB / 362.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.1484, allocations: 323.2 kB / 362.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1484, allocations: 3.938 kB / 362.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.1485, allocations: 7.938 kB / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1485, allocations: 4 kB / 362.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1487, allocations: 67.95 kB / 362.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.1493, allocations: 426.2 kB / 363.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.1497, allocations: 192 kB / 363.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.1499, allocations: 94.53 kB / 363.6 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.1499, allocations: 7.938 kB / 363.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.1501, allocations: 75.38 kB / 363.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 3.727e-06/0.1502, allocations: 0 / 363.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005661/0.1507, allocations: 265.2 kB / 363.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.1508, allocations: 170.2 kB / 364.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.1512, allocations: 350.9 kB / 364.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1512, allocations: 33.7 kB / 364.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1513, allocations: 136.7 kB / 364.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.1514, allocations: 23.7 kB / 364.6 MB, free: 6.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.1515, allocations: 49.94 kB / 364.7 MB, free: 6.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1516, allocations: 346.7 kB / 365 MB, free: 6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/0.1517, allocations: 48.64 kB / 365 MB, free: 5.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.1519, allocations: 187.6 kB / 365.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.1522, allocations: 219.2 kB / 365.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1522, allocations: 0 / 365.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004168/0.1527, allocations: 236.9 kB / 365.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1527, allocations: 8 kB / 365.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1527, allocations: 4 kB / 365.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1527, allocations: 8 kB / 365.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1529, allocations: 39.92 kB / 365.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.1529, allocations: 12.41 kB / 365.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.1531, allocations: 28.2 kB / 365.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1531, allocations: 12.05 kB / 365.8 MB, free: 5.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0002288/0.1533, allocations: 179.9 kB / 366 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.1535, allocations: 141.2 kB / 366.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.1536, allocations: 37.78 kB / 366.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1536, allocations: 4 kB / 366.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1537, allocations: 3.938 kB / 366.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1537, allocations: 0 / 366.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.1539, allocations: 273.4 kB / 366.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.154, allocations: 0 / 366.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.1541, allocations: 31.92 kB / 366.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1541, allocations: 0 / 366.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.1541, allocations: 11.98 kB / 366.4 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1542, allocations: 64 / 366.4 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1542, allocations: 11.88 kB / 366.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.1546, allocations: 250.3 kB / 366.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.1547, allocations: 124.7 kB / 366.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.1548, allocations: 8 kB / 366.8 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.1549, allocations: 7.984 kB / 366.8 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.1549, allocations: 15.92 kB / 366.9 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.155, allocations: 4 kB / 366.9 MB, free: 3.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.1552, allocations: 257.9 kB / 367.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1552, allocations: 0 / 367.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.1556, allocations: 48 kB / 367.2 MB, free: 3.598 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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.0009429/0.1565, allocations: 414.8 kB / 367.6 MB, free: 3.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.1569, allocations: 152.4 kB / 367.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1569, allocations: 4.312 kB / 367.7 MB, free: 3.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.157, allocations: 27.98 kB / 367.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.1575, allocations: 125.8 kB / 367.9 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.1583, allocations: 0.5311 MB / 368.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1586, allocations: 0.7755 MB / 369.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.1588, allocations: 34.52 kB / 369.2 MB, free: 1.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.1588, allocations: 31.42 kB / 369.2 MB, free: 1.59 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1588, allocations: 0 / 369.2 MB, free: 1.59 MB / 302.1 MB Notification: Performance of Templates: time 0.1703/0.3292, allocations: 3.355 MB / 372.6 MB, free: 19.72 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches