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.001239/0.001245, allocations: 118.2 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.644/1.644, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3267, allocations: 50.55 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002255/0.329, allocations: 0.8428 MB / 410.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003297/0.3293, allocations: 123.6 kB / 410.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.3294, allocations: 0 / 410.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.399e-05/0.3295, allocations: 3.938 kB / 410.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.3296, allocations: 11.92 kB / 410.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.3299, allocations: 31.91 kB / 410.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.33, allocations: 35.91 kB / 410.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3301, allocations: 27.98 kB / 410.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.3301, allocations: 11.94 kB / 410.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.195e-05/0.3302, allocations: 23.86 kB / 410.4 MB, free: 496 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.3302, allocations: 4 kB / 410.4 MB, free: 492 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.3302, allocations: 4 kB / 410.4 MB, free: 488 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.3302, allocations: 23.91 kB / 410.4 MB, free: 464 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.3303, allocations: 19.81 kB / 410.4 MB, free: 444 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.796e-05/0.3304, allocations: 47.81 kB / 410.5 MB, free: 396 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3304, allocations: 0 / 410.5 MB, free: 396 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3304, allocations: 0 / 410.5 MB, free: 396 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3304, allocations: 3.938 kB / 410.5 MB, free: 392 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.0004189/0.3308, allocations: 378.8 kB / 410.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3309, allocations: 12.03 kB / 410.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.3309, allocations: 8.844 kB / 410.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.3312, allocations: 193.6 kB / 411 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3312, allocations: 4.375 kB / 411 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3312, allocations: 4.375 kB / 411 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.3315, allocations: 135.8 kB / 411.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3315, allocations: 192 / 411.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3315, allocations: 3.938 kB / 411.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3315, allocations: 0 / 411.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.323e-05/0.3316, allocations: 23.94 kB / 411.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.3317, allocations: 165.7 kB / 411.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3319, allocations: 70.69 kB / 411.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.3319, allocations: 40.84 kB / 411.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.332, allocations: 0 / 411.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.332, allocations: 34.56 kB / 411.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.332, allocations: 0 / 411.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001765/0.3322, allocations: 89.52 kB / 411.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3322, allocations: 63.66 kB / 411.7 MB, free: 15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3324, allocations: 133.7 kB / 411.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3324, allocations: 29.7 kB / 411.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.3324, allocations: 84.14 kB / 411.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.3324, allocations: 7.984 kB / 411.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.3325, allocations: 25.72 kB / 411.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3326, allocations: 314.8 kB / 412.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/0.3326, allocations: 8 kB / 412.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.3327, allocations: 62.86 kB / 412.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.05e-05/0.3328, allocations: 70.75 kB / 412.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3328, allocations: 0 / 412.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001216/0.3329, allocations: 97.39 kB / 412.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3329, allocations: 4 kB / 412.5 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.333, allocations: 8.188 kB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.333, allocations: 4 kB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.67e-05/0.333, allocations: 4 kB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.333, allocations: 7.984 kB / 412.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.333, allocations: 3.938 kB / 412.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3331, allocations: 4.188 kB / 412.5 MB, free: 14.05 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 9.27e-05/0.3332, allocations: 133.7 kB / 412.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.3332, allocations: 69.55 kB / 412.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.3333, allocations: 20.3 kB / 412.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3333, allocations: 4 kB / 412.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3333, allocations: 0 / 412.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3333, allocations: 3.984 kB / 412.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.3334, allocations: 165.7 kB / 412.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3334, allocations: 7.984 kB / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-05/0.3335, allocations: 3.938 kB / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3335, allocations: 3.938 kB / 412.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3335, allocations: 3.938 kB / 412.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3335, allocations: 0 / 412.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3335, allocations: 4 kB / 412.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.3336, allocations: 101 kB / 413 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.3337, allocations: 93 kB / 413.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3337, allocations: 11.94 kB / 413.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.3337, allocations: 0 / 413.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-06/0.3337, allocations: 0 / 413.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3337, allocations: 4 kB / 413.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.897e-05/0.3338, allocations: 106.8 kB / 413.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3338, allocations: 0 / 413.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.334, allocations: 12 kB / 413.2 MB, free: 13.22 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 0.0001034/0.3341, allocations: 103.2 kB / 413.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.3343, allocations: 39.92 kB / 413.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3343, allocations: 4 kB / 413.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3343, allocations: 0 / 413.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3346, allocations: 47.14 kB / 413.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.3349, allocations: 165.6 kB / 413.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.3351, allocations: 0.6963 MB / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.002e-05/0.3352, allocations: 11.94 kB / 414.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.3352, allocations: 7.438 kB / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3352, allocations: 4 kB / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Templates: time 0.002695/0.3379, allocations: 0.6137 MB / 414.9 MB, free: 11.47 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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