Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2613, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002034/0.2633, allocations: 0.8473 MB / 410.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000302/0.2637, allocations: 115.6 kB / 410.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.2637, allocations: 4 kB / 410.9 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.2638, allocations: 7.922 kB / 410.9 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2639, allocations: 7.938 kB / 410.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.2641, allocations: 39.89 kB / 410.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.2642, allocations: 39.86 kB / 411 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2643, allocations: 23.98 kB / 411 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.2644, allocations: 15.92 kB / 411 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.2644, allocations: 15.92 kB / 411 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2644, allocations: 4 kB / 411 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.2644, allocations: 4 kB / 411 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.2645, allocations: 15.94 kB / 411.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.2645, allocations: 31.78 kB / 411.1 MB, free: 472 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.496e-05/0.2646, allocations: 47.75 kB / 411.1 MB, free: 424 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2646, allocations: 0 / 411.1 MB, free: 424 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2647, allocations: 0 / 411.1 MB, free: 424 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2647, allocations: 0 / 411.1 MB, free: 424 kB / 318.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.0003504/0.265, allocations: 370.9 kB / 411.5 MB, free: 4 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2651, allocations: 8.078 kB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.2651, allocations: 12.78 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.2653, allocations: 197.6 kB / 411.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.2653, allocations: 4.375 kB / 411.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.2653, allocations: 4.312 kB / 411.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.2656, allocations: 143.7 kB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.2656, allocations: 192 / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2656, allocations: 7.938 kB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2656, allocations: 0 / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.2657, allocations: 19.98 kB / 411.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.2658, allocations: 165.7 kB / 412 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.266, allocations: 62.72 kB / 412.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.266, allocations: 44.81 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.266, allocations: 8 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.2661, allocations: 34.56 kB / 412.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.2661, allocations: 0 / 412.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001811/0.2663, allocations: 89.52 kB / 412.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.2663, allocations: 55.41 kB / 412.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2665, allocations: 140.8 kB / 412.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2665, allocations: 25.7 kB / 412.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.2665, allocations: 88.14 kB / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.2665, allocations: 8 kB / 412.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.2666, allocations: 29.64 kB / 412.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2667, allocations: 314.8 kB / 412.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.2667, allocations: 11.98 kB / 412.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/0.2668, allocations: 54.88 kB / 413 MB, free: 14.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/0.2669, allocations: 78.73 kB / 413.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2669, allocations: 4 kB / 413.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001197/0.267, allocations: 85.41 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.267, allocations: 6.969 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.267, allocations: 7.938 kB / 413.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.267, allocations: 0 / 413.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.862e-05/0.2671, allocations: 4 kB / 413.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.2671, allocations: 12.23 kB / 413.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.2671, allocations: 7.938 kB / 413.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2671, allocations: 4 kB / 413.2 MB, free: 14.07 MB / 334.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 8.176e-05/0.2672, allocations: 129.7 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-05/0.2673, allocations: 69.59 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.2674, allocations: 16.31 kB / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2674, allocations: 0 / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2674, allocations: 192 / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2674, allocations: 4 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.712e-05/0.2675, allocations: 177.6 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2675, allocations: 0 / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.2675, allocations: 0 / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2675, allocations: 0 / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2675, allocations: 7.938 kB / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2675, allocations: 7.938 kB / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2676, allocations: 0 / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.2677, allocations: 97.02 kB / 413.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.2677, allocations: 101 kB / 413.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2678, allocations: 3.938 kB / 413.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.52e-05/0.2678, allocations: 0 / 413.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.2678, allocations: 0 / 413.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.2678, allocations: 4 kB / 413.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.587e-05/0.2679, allocations: 99.27 kB / 413.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2679, allocations: 0 / 413.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.2681, allocations: 12 kB / 413.9 MB, free: 13.26 MB / 334.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 9.838e-05/0.2682, allocations: 99.25 kB / 414 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.2683, allocations: 47.86 kB / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2683, allocations: 0 / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2683, allocations: 0 / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2686, allocations: 50.19 kB / 414.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.2689, allocations: 198.5 kB / 414.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.2692, allocations: 0.6968 MB / 415 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.2692, allocations: 11.44 kB / 415 MB, free: 12.1 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2692, allocations: 0 / 415 MB, free: 12.1 MB / 334.1 MB Notification: Performance of Templates: time 0.002083/0.2713, allocations: 0.8124 MB / 415.8 MB, free: 11.29 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches