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.001651/0.001651, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001788/0.001788, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 60.16 kB / 307 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1351, allocations: 50.55 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002712/0.1379, allocations: 0.8278 MB / 358.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000517/0.1384, allocations: 127.6 kB / 358.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1386, allocations: 0 / 358.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1387, allocations: 3.938 kB / 358.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.1389, allocations: 7.938 kB / 358.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1392, allocations: 43.89 kB / 358.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1393, allocations: 35.92 kB / 358.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1395, allocations: 27.97 kB / 358.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.1396, allocations: 23.8 kB / 358.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1397, allocations: 15.92 kB / 358.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.1397, allocations: 4 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.1397, allocations: 8 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.502e-05/0.1398, allocations: 19.92 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.1399, allocations: 31.73 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.14, allocations: 55.81 kB / 358.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.14, allocations: 0 / 358.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1401, allocations: 0 / 358.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1401, allocations: 0 / 358.8 MB, free: 12.82 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.0005822/0.1407, allocations: 379.4 kB / 359.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1407, allocations: 8.031 kB / 359.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.1407, allocations: 16.73 kB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.141, allocations: 196.1 kB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.141, allocations: 4.375 kB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.141, allocations: 4.375 kB / 359.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.1413, allocations: 143.7 kB / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1414, allocations: 4.172 kB / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1414, allocations: 3.938 kB / 359.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1414, allocations: 4 kB / 359.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.401e-05/0.1415, allocations: 27.91 kB / 359.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.1417, allocations: 173.7 kB / 359.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1418, allocations: 70.75 kB / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.612e-05/0.1419, allocations: 48.84 kB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1419, allocations: 0 / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.142, allocations: 34.56 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.142, allocations: 3.938 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002254/0.1422, allocations: 109.6 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.1423, allocations: 55.41 kB / 360 MB, free: 11.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1424, allocations: 141.8 kB / 360.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1425, allocations: 25.7 kB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.1425, allocations: 88.14 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.1426, allocations: 11.89 kB / 360.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.1426, allocations: 25.72 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1428, allocations: 322.8 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.1428, allocations: 4 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/0.1429, allocations: 62.8 kB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.143, allocations: 74.81 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.143, allocations: 3.938 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001315/0.1431, allocations: 89.45 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1431, allocations: 10.91 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1431, allocations: 4 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1432, allocations: 4 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.1432, allocations: 23.92 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1433, allocations: 256 / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.1433, allocations: 11.94 kB / 360.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1433, allocations: 7.938 kB / 360.9 MB, free: 10.39 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.0001076/0.1434, allocations: 121.8 kB / 361 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.1436, allocations: 89.45 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.1436, allocations: 8.719 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1436, allocations: 4 kB / 361.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1436, allocations: 0 / 361.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1436, allocations: 0 / 361.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1438, allocations: 173.6 kB / 361.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1438, allocations: 4 kB / 361.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.1439, allocations: 11.98 kB / 361.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1439, allocations: 7.938 kB / 361.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1439, allocations: 4 kB / 361.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1439, allocations: 0 / 361.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1439, allocations: 0 / 361.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.1441, allocations: 105.4 kB / 361.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.699e-05/0.1442, allocations: 108.9 kB / 361.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1442, allocations: 4.125 kB / 361.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.1442, allocations: 0 / 361.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-06/0.1442, allocations: 3.938 kB / 361.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1442, allocations: 4 kB / 361.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.046e-05/0.1443, allocations: 107.2 kB / 361.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1443, allocations: 0 / 361.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001935/0.1445, allocations: 12 kB / 361.7 MB, free: 9.531 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.0001371/0.1447, allocations: 99.25 kB / 361.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.1448, allocations: 63.84 kB / 361.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1448, allocations: 0 / 361.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1449, allocations: 0 / 361.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1452, allocations: 56.06 kB / 361.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.1455, allocations: 177.8 kB / 362.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1459, allocations: 0.6979 MB / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.734e-05/0.1459, allocations: 4.672 kB / 362.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.146, allocations: 11.44 kB / 362.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of SimCode: time 4.067e-06/0.146, allocations: 3.938 kB / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of Templates: time 0.003524/0.1495, allocations: 0.6895 MB / 363.5 MB, free: 7.672 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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