Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001688/0.001688, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001968/0.001968, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.504/1.504, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 67.95 kB / 307.9 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.1007, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002435/0.1031, allocations: 0.831 MB / 359.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003616/0.1035, allocations: 115.7 kB / 359.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.1036, allocations: 0 / 359.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.838e-05/0.1037, allocations: 11.86 kB / 359.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1039, allocations: 11.94 kB / 359.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.1041, allocations: 47.88 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1042, allocations: 35.92 kB / 359.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1044, allocations: 31.89 kB / 359.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.1044, allocations: 15.94 kB / 359.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.1045, allocations: 19.91 kB / 359.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.1045, allocations: 4 kB / 359.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.1045, allocations: 8 kB / 359.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.1046, allocations: 15.94 kB / 359.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.1046, allocations: 31.73 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1048, allocations: 59.8 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.1048, allocations: 0 / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1048, allocations: 0 / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1048, allocations: 0 / 359.7 MB, free: 12.73 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.0005329/0.1053, allocations: 371.4 kB / 360 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1054, allocations: 8.031 kB / 360 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.1054, allocations: 16.75 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1057, allocations: 200.1 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-06/0.1057, allocations: 384 / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.1057, allocations: 8.375 kB / 360.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.106, allocations: 143.7 kB / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.106, allocations: 4.125 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.106, allocations: 7.938 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.106, allocations: 4 kB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.25e-05/0.1061, allocations: 19.98 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1063, allocations: 173.6 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1065, allocations: 78.73 kB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.1066, allocations: 40.78 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1066, allocations: 4 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1066, allocations: 38.56 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.1066, allocations: 0 / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000222/0.1068, allocations: 97.52 kB / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.1069, allocations: 59.41 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1071, allocations: 140 kB / 361 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1071, allocations: 29.7 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.1071, allocations: 84.14 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.1072, allocations: 11.91 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1072, allocations: 37.58 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1074, allocations: 322.8 kB / 361.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.1074, allocations: 8 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.1075, allocations: 54.86 kB / 361.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.394e-05/0.1076, allocations: 78.75 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1076, allocations: 0 / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001509/0.1077, allocations: 93.45 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1078, allocations: 11.88 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1078, allocations: 4 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1078, allocations: 0 / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.1079, allocations: 16 kB / 361.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1079, allocations: 4.234 kB / 361.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.1079, allocations: 19.88 kB / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.108, allocations: 4 kB / 361.8 MB, free: 10.3 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.0001086/0.1081, allocations: 121.8 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1082, allocations: 93.66 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.1082, allocations: 8.719 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1082, allocations: 4 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1083, allocations: 0 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1083, allocations: 0 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1084, allocations: 173.6 kB / 362.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1084, allocations: 0 / 362.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.1085, allocations: 12 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1085, allocations: 3.938 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1085, allocations: 8 kB / 362.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.1085, allocations: 7.922 kB / 362.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1085, allocations: 0 / 362.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1087, allocations: 105 kB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.1088, allocations: 104.9 kB / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.1088, allocations: 3.938 kB / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.68e-05/0.1089, allocations: 7.984 kB / 362.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-06/0.1089, allocations: 0 / 362.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1089, allocations: 4 kB / 362.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.721e-05/0.109, allocations: 105.3 kB / 362.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.109, allocations: 0 / 362.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.1092, allocations: 8 kB / 362.6 MB, free: 9.449 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.000112/0.1093, allocations: 107.4 kB / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.1095, allocations: 55.86 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1095, allocations: 3.938 kB / 362.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1095, allocations: 0 / 362.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1098, allocations: 50.39 kB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.1102, allocations: 216.2 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.1105, allocations: 0.6979 MB / 363.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.1105, allocations: 11.44 kB / 363.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1105, allocations: 3.938 kB / 363.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of Templates: time 0.002631/0.1132, allocations: 0.8819 MB / 364.6 MB, free: 7.363 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches