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.0009853/0.0009853, allocations: 94.55 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 200 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 4 kB / 306.6 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 51.49 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001834/0.1442, allocations: 0.5432 MB / 358.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005943/0.1449, allocations: 123.6 kB / 358.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1451, allocations: 4 kB / 358.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.1452, allocations: 3.938 kB / 358.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.1454, allocations: 7.984 kB / 358.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1456, allocations: 35.84 kB / 358.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1458, allocations: 27.97 kB / 358.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1459, allocations: 27.92 kB / 358.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.1459, allocations: 7.938 kB / 358.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.146, allocations: 15.92 kB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.146, allocations: 4 kB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.1461, allocations: 0 / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.1461, allocations: 19.91 kB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.1462, allocations: 29.7 kB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.492e-05/0.1463, allocations: 35.94 kB / 358.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1463, allocations: 3.938 kB / 358.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1463, allocations: 3.938 kB / 358.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1463, allocations: 0 / 358.9 MB, free: 13.26 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.0005274/0.1468, allocations: 371.3 kB / 359.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1469, allocations: 8.031 kB / 359.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.1469, allocations: 11.91 kB / 359.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.1471, allocations: 194.9 kB / 359.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1472, allocations: 4 kB / 359.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1472, allocations: 7.953 kB / 359.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1475, allocations: 143.2 kB / 359.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1475, allocations: 0 / 359.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1476, allocations: 0 / 359.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1476, allocations: 0 / 359.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.662e-05/0.1477, allocations: 19.98 kB / 359.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.1479, allocations: 177.6 kB / 359.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1482, allocations: 82.64 kB / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.1482, allocations: 4 kB / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.1482, allocations: 30.56 kB / 360 MB, free: 12.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.1483, allocations: 0 / 360 MB, free: 12.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003053/0.1486, allocations: 101.5 kB / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.1487, allocations: 55.72 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1489, allocations: 152 kB / 360.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.1489, allocations: 29.7 kB / 360.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.149, allocations: 88.14 kB / 360.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.149, allocations: 4 kB / 360.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.149, allocations: 4 kB / 360.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1492, allocations: 314.8 kB / 360.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.1493, allocations: 12 kB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.1494, allocations: 58.86 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.1494, allocations: 23.94 kB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1494, allocations: 0 / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001815/0.1496, allocations: 93.41 kB / 360.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1497, allocations: 8 kB / 360.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1497, allocations: 0 / 360.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.1497, allocations: 7.938 kB / 360.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1498, allocations: 19.98 kB / 360.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.1499, allocations: 7.984 kB / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.1499, allocations: 192 / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1499, allocations: 4 kB / 360.9 MB, free: 11.02 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,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.1501, allocations: 142.6 kB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1502, allocations: 85.67 kB / 361.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.1503, allocations: 12.72 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1503, allocations: 0 / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.1503, allocations: 0 / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1503, allocations: 3.938 kB / 361.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.1505, allocations: 177.5 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1505, allocations: 0 / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-05/0.1506, allocations: 12 kB / 361.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.1506, allocations: 7.984 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.1507, allocations: 7.953 kB / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1507, allocations: 0 / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1507, allocations: 3.938 kB / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.1509, allocations: 101 kB / 361.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.151, allocations: 97 kB / 361.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.151, allocations: 7.984 kB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.689e-05/0.151, allocations: 3.953 kB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-06/0.151, allocations: 4 kB / 361.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.151, allocations: 4 kB / 361.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.438e-05/0.1511, allocations: 105.9 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1511, allocations: 0 / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.1513, allocations: 12 kB / 361.7 MB, free: 10.14 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 (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.0001329/0.1515, allocations: 99.23 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.1516, allocations: 51.98 kB / 361.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1516, allocations: 0 / 361.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.1516, allocations: 0 / 361.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1519, allocations: 51.94 kB / 361.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.1523, allocations: 191.5 kB / 362.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1526, allocations: 0.7082 MB / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.42e-05/0.1526, allocations: 4.656 kB / 362.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.1527, allocations: 15.38 kB / 362.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1527, allocations: 0 / 362.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of Templates: time 0.002955/0.1556, allocations: 0.6124 MB / 363.4 MB, free: 8.359 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.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches