Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 111.4 kB / 17.99 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 213.8 kB / 18.93 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 56.84 kB / 307.1 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1282, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002353/0.1306, allocations: 0.8905 MB / 358.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003317/0.1309, allocations: 127.6 kB / 358.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.131, allocations: 4 kB / 358.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/0.1311, allocations: 3.938 kB / 358.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1312, allocations: 7.938 kB / 358.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.1314, allocations: 27.97 kB / 358.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.1316, allocations: 51.91 kB / 358.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1317, allocations: 23.92 kB / 358.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.1317, allocations: 19.92 kB / 358.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.1318, allocations: 19.86 kB / 358.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1318, allocations: 7.984 kB / 358.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.1319, allocations: 4 kB / 358.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.1319, allocations: 19.92 kB / 358.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.132, allocations: 31.75 kB / 358.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.227e-05/0.1321, allocations: 39.94 kB / 359 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1321, allocations: 0 / 359 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1321, allocations: 0 / 359 MB, free: 13.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1321, allocations: 4 kB / 359 MB, free: 13.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005217/0.1326, allocations: 367.5 kB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1327, allocations: 16.02 kB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1327, allocations: 12.75 kB / 359.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.133, allocations: 192.1 kB / 359.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.133, allocations: 12.31 kB / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.133, allocations: 4.375 kB / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.1333, allocations: 139.8 kB / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1333, allocations: 4.188 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1333, allocations: 3.938 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.1334, allocations: 0 / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.254e-05/0.1334, allocations: 27.98 kB / 359.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.1336, allocations: 165.7 kB / 359.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1338, allocations: 78.64 kB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.927e-05/0.1338, allocations: 40.89 kB / 360 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.1339, allocations: 0 / 360 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1339, allocations: 38.56 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.1339, allocations: 0 / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002313/0.1341, allocations: 113.6 kB / 360.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.1342, allocations: 55.34 kB / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1344, allocations: 148.3 kB / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1344, allocations: 25.7 kB / 360.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.1345, allocations: 84.14 kB / 360.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.1345, allocations: 11.89 kB / 360.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.1345, allocations: 25.72 kB / 360.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1347, allocations: 326.8 kB / 360.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.1347, allocations: 8 kB / 360.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.1348, allocations: 62.8 kB / 360.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.1349, allocations: 70.81 kB / 360.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1349, allocations: 0 / 360.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001406/0.1351, allocations: 101.4 kB / 361 MB, free: 10.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1351, allocations: 7.938 kB / 361.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1351, allocations: 4 kB / 361.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1351, allocations: 4 kB / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.1352, allocations: 19.92 kB / 361.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1352, allocations: 4 kB / 361.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.1353, allocations: 7.938 kB / 361.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1353, allocations: 8.25 kB / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001589/0.1354, allocations: 121.8 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1356, allocations: 89.44 kB / 361.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.1356, allocations: 12.72 kB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1356, allocations: 0 / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1356, allocations: 0 / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.1356, allocations: 4 kB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1358, allocations: 169.6 kB / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1358, allocations: 0 / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.1359, allocations: 23.98 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1359, allocations: 3.938 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.1359, allocations: 0 / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.1359, allocations: 0 / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1359, allocations: 7.938 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.1361, allocations: 112.9 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.1362, allocations: 96.91 kB / 361.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1362, allocations: 3.938 kB / 361.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.442e-05/0.1362, allocations: 8 kB / 361.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-06/0.1362, allocations: 0 / 361.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.1362, allocations: 0 / 361.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.716e-05/0.1363, allocations: 107.2 kB / 361.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1364, allocations: 4 kB / 361.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.1366, allocations: 8 kB / 361.9 MB, free: 9.824 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001203/0.1367, allocations: 101.2 kB / 362 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1368, allocations: 60.05 kB / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1369, allocations: 0 / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-07/0.1369, allocations: 3.938 kB / 362 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1372, allocations: 52 kB / 362.1 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.1375, allocations: 223.5 kB / 362.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1379, allocations: 0.7002 MB / 363 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.1379, allocations: 7.438 kB / 363 MB, free: 8.617 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1379, allocations: 0 / 363 MB, free: 8.617 MB / 302.1 MB Notification: Performance of Templates: time 0.002683/0.1406, allocations: 0.8922 MB / 363.9 MB, free: 7.734 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches