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.0009749/0.0009749, allocations: 94.77 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 205.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002712, allocations: 4 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 51.53 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.00315/0.1249, allocations: 1.673 MB / 360.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.1277, allocations: 1.29 MB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.128, allocations: 7.938 kB / 362.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.1285, allocations: 67.73 kB / 362.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00054/0.129, allocations: 111.6 kB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1302, allocations: 246.9 kB / 362.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.1307, allocations: 207.4 kB / 362.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.1309, allocations: 56.27 kB / 362.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.1312, allocations: 71.64 kB / 363 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1314, allocations: 107.4 kB / 363.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.1315, allocations: 4 kB / 363.1 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.1317, allocations: 55.97 kB / 363.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1319, allocations: 67.75 kB / 363.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.1321, allocations: 113 kB / 363.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005846/0.1327, allocations: 283.2 kB / 363.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1327, allocations: 0 / 363.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.1327, allocations: 0 / 363.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.1327, allocations: 3.938 kB / 363.6 MB, free: 8.922 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.001082/0.1338, allocations: 0.5312 MB / 364.1 MB, free: 8.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1339, allocations: 8.031 kB / 364.1 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.941e-05/0.134, allocations: 28.66 kB / 364.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.1344, allocations: 315.3 kB / 364.5 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1344, allocations: 12.38 kB / 364.5 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.1345, allocations: 16.12 kB / 364.5 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.1352, allocations: 330.5 kB / 364.8 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1352, allocations: 0 / 364.8 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.1352, allocations: 11.92 kB / 364.8 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.1352, allocations: 4 kB / 364.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.1355, allocations: 67.95 kB / 364.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008762/0.1363, allocations: 422.2 kB / 365.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.1369, allocations: 196 kB / 365.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.1373, allocations: 90.53 kB / 365.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.1373, allocations: 8.219 kB / 365.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.1375, allocations: 79.31 kB / 365.7 MB, free: 6.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 3.276e-06/0.1376, allocations: 4 kB / 365.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.000863/0.1384, allocations: 249.4 kB / 365.9 MB, free: 6.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003329/0.1388, allocations: 170.5 kB / 366.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.1393, allocations: 351 kB / 366.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.1394, allocations: 33.7 kB / 366.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1395, allocations: 132.6 kB / 366.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.1396, allocations: 35.62 kB / 366.6 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.1396, allocations: 29.7 kB / 366.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1398, allocations: 350.7 kB / 367 MB, free: 5.207 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.14, allocations: 44.44 kB / 367 MB, free: 5.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.1402, allocations: 186.9 kB / 367.2 MB, free: 4.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.1405, allocations: 215.2 kB / 367.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.1406, allocations: 4 kB / 367.4 MB, free: 4.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004615/0.141, allocations: 237 kB / 367.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1411, allocations: 4 kB / 367.7 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1411, allocations: 4 kB / 367.7 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.1411, allocations: 8 kB / 367.7 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.1413, allocations: 40.45 kB / 367.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.1413, allocations: 19.88 kB / 367.7 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.1415, allocations: 19.83 kB / 367.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1415, allocations: 12 kB / 367.8 MB, free: 4.305 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.0002128/0.1417, allocations: 175.9 kB / 367.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.1419, allocations: 137.3 kB / 368.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.917e-05/0.142, allocations: 37.78 kB / 368.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1421, allocations: 4 kB / 368.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.1421, allocations: 7.938 kB / 368.1 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1421, allocations: 4 kB / 368.1 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.1424, allocations: 261.4 kB / 368.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1424, allocations: 0 / 368.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.1426, allocations: 31.97 kB / 368.4 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.1426, allocations: 3.984 kB / 368.4 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.1426, allocations: 11.98 kB / 368.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1426, allocations: 0 / 368.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.1426, allocations: 7.938 kB / 368.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.143, allocations: 238.3 kB / 368.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.1432, allocations: 128.7 kB / 368.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.1433, allocations: 16 kB / 368.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.1434, allocations: 7.984 kB / 368.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.1434, allocations: 15.92 kB / 368.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.1435, allocations: 8 kB / 368.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000301/0.1438, allocations: 258 kB / 369.1 MB, free: 2.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1438, allocations: 3.938 kB / 369.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.1442, allocations: 48 kB / 369.2 MB, free: 2.816 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.001319/0.1455, allocations: 419.6 kB / 369.6 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.1459, allocations: 160.3 kB / 369.7 MB, free: 2.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1459, allocations: 0 / 369.7 MB, free: 2.383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.146, allocations: 27.98 kB / 369.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.1467, allocations: 114.1 kB / 369.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.1477, allocations: 0.533 MB / 370.4 MB, free: 1.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1481, allocations: 0.7638 MB / 371.2 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.1482, allocations: 38.22 kB / 371.2 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.639e-05/0.1483, allocations: 31.42 kB / 371.2 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1483, allocations: 0 / 371.2 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of Templates: time 0.2257/0.374, allocations: 3.331 MB / 374.6 MB, free: 18.39 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