Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 105.8 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.001307/0.001307, allocations: 207.8 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.406/1.406, allocations: 227.7 MB / 247.7 MB, free: 10.35 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.001927/0.001927, allocations: 63.75 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1055, allocations: 50.55 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002437/0.108, allocations: 0.8507 MB / 359.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003566/0.1084, allocations: 115.7 kB / 359.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.1085, allocations: 0 / 359.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.1085, allocations: 7.875 kB / 359.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.1086, allocations: 7.938 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1089, allocations: 35.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.927e-05/0.109, allocations: 31.98 kB / 359.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1091, allocations: 27.97 kB / 359.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.464e-05/0.1092, allocations: 27.8 kB / 359.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.1092, allocations: 19.86 kB / 359.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1092, allocations: 4 kB / 359.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.1093, allocations: 0 / 359.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.1093, allocations: 19.92 kB / 359.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.1094, allocations: 27.8 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.1095, allocations: 47.81 kB / 359.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1095, allocations: 0 / 359.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1095, allocations: 0 / 359.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1095, allocations: 0 / 359.6 MB, free: 12.74 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.0005204/0.1101, allocations: 373.9 kB / 360 MB, free: 12.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1101, allocations: 15.97 kB / 360 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.1102, allocations: 12.83 kB / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.1104, allocations: 184.2 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1104, allocations: 4.375 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1104, allocations: 4.312 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.1107, allocations: 139.8 kB / 360.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1108, allocations: 192 / 360.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1108, allocations: 3.938 kB / 360.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1108, allocations: 0 / 360.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.1108, allocations: 16 kB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.111, allocations: 165.7 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1112, allocations: 74.69 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.574e-05/0.1112, allocations: 40.83 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.1112, allocations: 4 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1113, allocations: 30.56 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1113, allocations: 3.938 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002116/0.1115, allocations: 89.47 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.1116, allocations: 55.41 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1117, allocations: 140.7 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1117, allocations: 29.7 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.1118, allocations: 84.14 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.1118, allocations: 7.984 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.1119, allocations: 25.62 kB / 361.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1121, allocations: 318.8 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.1121, allocations: 8 kB / 361.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.1122, allocations: 66.8 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1123, allocations: 75 kB / 361.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1123, allocations: 4 kB / 361.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001307/0.1125, allocations: 89.42 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1125, allocations: 4 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1125, allocations: 12.19 kB / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1125, allocations: 0 / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.063e-05/0.1125, allocations: 4 kB / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1126, allocations: 8.25 kB / 361.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/0.1126, allocations: 7.906 kB / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1126, allocations: 7.984 kB / 361.7 MB, free: 10.4 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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.0001159/0.1127, allocations: 125.8 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-05/0.1128, allocations: 77.52 kB / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.1129, allocations: 24.3 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1129, allocations: 0 / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1129, allocations: 0 / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1129, allocations: 4 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1131, allocations: 165.7 kB / 362.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1131, allocations: 0 / 362.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.42e-05/0.1131, allocations: 3.984 kB / 362.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1131, allocations: 0 / 362.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1131, allocations: 11.94 kB / 362.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1131, allocations: 0 / 362.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1131, allocations: 0 / 362.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.1133, allocations: 97.03 kB / 362.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.1134, allocations: 100.9 kB / 362.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1134, allocations: 7.875 kB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.1134, allocations: 0 / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-06/0.1134, allocations: 0 / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1135, allocations: 4 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.139e-05/0.1136, allocations: 103.2 kB / 362.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1136, allocations: 0 / 362.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002039/0.1138, allocations: 16 kB / 362.4 MB, free: 9.574 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,xor.u1,xor.u2,xor.y,integerConstant.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.0001134/0.1139, allocations: 98.48 kB / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.114, allocations: 43.92 kB / 362.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.114, allocations: 0 / 362.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.114, allocations: 3.938 kB / 362.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1144, allocations: 42.7 kB / 362.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.1147, allocations: 191.3 kB / 362.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1151, allocations: 0.6963 MB / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.1151, allocations: 15.42 kB / 363.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1152, allocations: 3.938 kB / 363.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of Templates: time 0.00227/0.1174, allocations: 0.7965 MB / 364.3 MB, free: 7.621 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches