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.001541/0.00154, allocations: 119.8 kB / 18.41 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001863/0.001863, allocations: 203.5 kB / 19.36 MB, free: 3.723 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.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.84 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1078, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002161/0.11, allocations: 0.8254 MB / 359.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003221/0.1103, allocations: 111.7 kB / 359.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.1104, allocations: 4 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.544e-05/0.1105, allocations: 15.86 kB / 359.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1107, allocations: 11.94 kB / 359.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.1108, allocations: 31.89 kB / 359.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.729e-05/0.111, allocations: 39.86 kB / 360 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1111, allocations: 27.97 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.1111, allocations: 15.92 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.1112, allocations: 27.86 kB / 360 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1112, allocations: 4 kB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.1112, allocations: 4 kB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.1113, allocations: 19.91 kB / 360 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.1113, allocations: 27.81 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1115, allocations: 59.69 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1115, allocations: 4 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1115, allocations: 0 / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1115, allocations: 0 / 360.1 MB, free: 12.09 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.0004829/0.112, allocations: 375.2 kB / 360.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.112, allocations: 16.03 kB / 360.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.1121, allocations: 12.75 kB / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1123, allocations: 192.1 kB / 360.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1123, allocations: 4.375 kB / 360.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1123, allocations: 8.312 kB / 360.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.1127, allocations: 155.6 kB / 360.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1127, allocations: 192 / 360.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1127, allocations: 7.938 kB / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1127, allocations: 0 / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.1128, allocations: 23.98 kB / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.113, allocations: 169.7 kB / 361.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1131, allocations: 82.62 kB / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.1132, allocations: 44.89 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1132, allocations: 0 / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1133, allocations: 38.53 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1133, allocations: 0 / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002345/0.1135, allocations: 109.6 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.1136, allocations: 59.34 kB / 361.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1137, allocations: 141 kB / 361.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1138, allocations: 29.7 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.1138, allocations: 92.12 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1138, allocations: 3.906 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.1139, allocations: 29.72 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.114, allocations: 322.8 kB / 362 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.1141, allocations: 4 kB / 362 MB, free: 9.988 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.1141, allocations: 62.86 kB / 362.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.033e-05/0.1142, allocations: 78.73 kB / 362.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1142, allocations: 0 / 362.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001235/0.1144, allocations: 89.41 kB / 362.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1144, allocations: 11.94 kB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1144, allocations: 256 / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1144, allocations: 8 kB / 362.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.1145, allocations: 19.98 kB / 362.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1145, allocations: 3.938 kB / 362.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.1146, allocations: 7.938 kB / 362.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.1146, allocations: 4 kB / 362.3 MB, free: 9.652 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.0001256/0.1147, allocations: 129.8 kB / 362.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.1148, allocations: 81.53 kB / 362.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.1149, allocations: 16.66 kB / 362.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1149, allocations: 4 kB / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1149, allocations: 192 / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1149, allocations: 3.984 kB / 362.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.115, allocations: 173.6 kB / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.115, allocations: 0 / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.414e-05/0.1151, allocations: 11.98 kB / 362.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1151, allocations: 7.938 kB / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1151, allocations: 4 kB / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1152, allocations: 0 / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1152, allocations: 3.938 kB / 362.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.1153, allocations: 113 kB / 362.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.1154, allocations: 100.9 kB / 362.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1154, allocations: 7.938 kB / 362.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/0.1155, allocations: 3.938 kB / 362.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-06/0.1155, allocations: 0 / 362.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1155, allocations: 4 kB / 362.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.496e-05/0.1156, allocations: 107.2 kB / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1156, allocations: 0 / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.1158, allocations: 16 kB / 363.1 MB, free: 8.777 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.0001269/0.1159, allocations: 95.25 kB / 363.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.116, allocations: 43.92 kB / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1161, allocations: 0 / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1161, allocations: 0 / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1164, allocations: 62.47 kB / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.1167, allocations: 181.3 kB / 363.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1171, allocations: 0.7025 MB / 364.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.929e-05/0.1171, allocations: 4.672 kB / 364.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.1171, allocations: 7.438 kB / 364.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1171, allocations: 0 / 364.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of Templates: time 0.002943/0.1201, allocations: 0.6979 MB / 364.9 MB, free: 6.934 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 -s cvode -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.0.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