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.001389/0.001389, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 9.039 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 60.41 kB / 306.9 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 50.54 MB / 357.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.00282/0.1132, allocations: 0.8866 MB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004253/0.1136, allocations: 123.6 kB / 358.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1138, allocations: 7.938 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1139, allocations: 0 / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.1141, allocations: 7.938 kB / 358.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1144, allocations: 31.91 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1145, allocations: 39.91 kB / 358.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1146, allocations: 31.92 kB / 358.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.1147, allocations: 15.92 kB / 358.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.1148, allocations: 19.92 kB / 358.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.1148, allocations: 4 kB / 358.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.1148, allocations: 3.938 kB / 358.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.1149, allocations: 23.91 kB / 358.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.115, allocations: 27.75 kB / 358.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.364e-05/0.1151, allocations: 39.94 kB / 358.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1151, allocations: 0 / 358.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1151, allocations: 0 / 358.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1151, allocations: 0 / 358.7 MB, free: 13.02 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.0005746/0.1157, allocations: 373.8 kB / 359.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1157, allocations: 8.031 kB / 359.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.1158, allocations: 20.73 kB / 359.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.116, allocations: 200.1 kB / 359.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.116, allocations: 8.375 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.116, allocations: 4.375 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.1164, allocations: 143.7 kB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1164, allocations: 192 / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1164, allocations: 3.938 kB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1164, allocations: 4 kB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.172e-05/0.1165, allocations: 23.98 kB / 359.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.1167, allocations: 169.7 kB / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1168, allocations: 74.69 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.1169, allocations: 44.84 kB / 359.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1169, allocations: 0 / 359.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.117, allocations: 30.56 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.117, allocations: 4 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002324/0.1172, allocations: 105.7 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.1173, allocations: 55.41 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1174, allocations: 144.5 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1175, allocations: 33.64 kB / 360.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.1175, allocations: 88.08 kB / 360.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1176, allocations: 11.89 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.1176, allocations: 21.72 kB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1177, allocations: 326.8 kB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.1178, allocations: 4 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.1178, allocations: 62.86 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.282e-05/0.1179, allocations: 70.75 kB / 360.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1179, allocations: 4 kB / 360.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001531/0.1181, allocations: 97.58 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.1181, allocations: 11.94 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1181, allocations: 3.938 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1182, allocations: 4 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.1183, allocations: 15.98 kB / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1183, allocations: 4 kB / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.1183, allocations: 3.938 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1183, allocations: 8.25 kB / 360.8 MB, free: 10.61 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.0001259/0.1185, allocations: 137.6 kB / 361 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.1186, allocations: 81.83 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.1186, allocations: 12.72 kB / 361.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1186, allocations: 3.984 kB / 361.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1187, allocations: 0 / 361.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1187, allocations: 0 / 361.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.1188, allocations: 177.6 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1188, allocations: 0 / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/0.1189, allocations: 19.98 kB / 361.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1189, allocations: 7.875 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1189, allocations: 4 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1189, allocations: 0 / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1189, allocations: 80 / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1191, allocations: 105 kB / 361.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.1192, allocations: 108.8 kB / 361.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1192, allocations: 3.938 kB / 361.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.1192, allocations: 4 kB / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-06/0.1192, allocations: 0 / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-06/0.1192, allocations: 4 kB / 361.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.141e-05/0.1193, allocations: 111.2 kB / 361.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1193, allocations: 0 / 361.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.1195, allocations: 8 kB / 361.6 MB, free: 9.734 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.0001191/0.1197, allocations: 99.19 kB / 361.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1198, allocations: 55.91 kB / 361.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1198, allocations: 0 / 361.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.1198, allocations: 0 / 361.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.1202, allocations: 52 kB / 361.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.1205, allocations: 221.2 kB / 362 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1208, allocations: 0.7043 MB / 362.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.1209, allocations: 11.44 kB / 362.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1209, allocations: 0 / 362.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of Templates: time 0.002642/0.1235, allocations: 0.8627 MB / 363.6 MB, free: 7.668 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.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