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.001277/0.001277, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.337, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002375/0.3395, allocations: 0.8609 MB / 410.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003158/0.3398, allocations: 111.6 kB / 410.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.3399, allocations: 8 kB / 410.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.3399, allocations: 3.938 kB / 410.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3401, allocations: 11.92 kB / 410.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.3403, allocations: 31.91 kB / 410.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.998e-05/0.3404, allocations: 43.91 kB / 410.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3405, allocations: 19.98 kB / 410.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.823e-05/0.3405, allocations: 11.94 kB / 410.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.718e-05/0.3406, allocations: 19.86 kB / 410.4 MB, free: 496 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3406, allocations: 8 kB / 410.4 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.3406, allocations: 4 kB / 410.4 MB, free: 484 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.3407, allocations: 15.92 kB / 410.4 MB, free: 468 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.3407, allocations: 23.81 kB / 410.4 MB, free: 444 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.3409, allocations: 51.73 kB / 410.5 MB, free: 392 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3409, allocations: 4 kB / 410.5 MB, free: 388 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3409, allocations: 0 / 410.5 MB, free: 388 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3409, allocations: 0 / 410.5 MB, free: 388 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.0004023/0.3413, allocations: 371.1 kB / 410.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3413, allocations: 12.03 kB / 410.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.3414, allocations: 8.891 kB / 410.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3416, allocations: 204.1 kB / 411 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3416, allocations: 4.375 kB / 411 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3417, allocations: 4.375 kB / 411.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.3419, allocations: 131.9 kB / 411.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3419, allocations: 8.109 kB / 411.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.342, allocations: 3.938 kB / 411.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.342, allocations: 3.938 kB / 411.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.342, allocations: 19.94 kB / 411.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.3422, allocations: 169.6 kB / 411.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.3423, allocations: 66.72 kB / 411.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.3424, allocations: 44.83 kB / 411.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3425, allocations: 4 kB / 411.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.3425, allocations: 30.56 kB / 411.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.3425, allocations: 0 / 411.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001983/0.3427, allocations: 85.58 kB / 411.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.3427, allocations: 55.41 kB / 411.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3429, allocations: 129.8 kB / 411.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3429, allocations: 33.7 kB / 411.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.3429, allocations: 88.12 kB / 411.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.343, allocations: 7.953 kB / 411.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.343, allocations: 21.72 kB / 411.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.3431, allocations: 322.8 kB / 412.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.3431, allocations: 12 kB / 412.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.882e-05/0.3432, allocations: 62.84 kB / 412.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.888e-05/0.3433, allocations: 70.75 kB / 412.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3433, allocations: 4 kB / 412.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001075/0.3434, allocations: 85.5 kB / 412.5 MB, free: 14.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3434, allocations: 6.812 kB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3434, allocations: 12.44 kB / 412.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3434, allocations: 4 kB / 412.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.839e-05/0.3434, allocations: 8 kB / 412.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3435, allocations: 4 kB / 412.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.3435, allocations: 0 / 412.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3435, allocations: 7.984 kB / 412.5 MB, free: 14.04 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 7.79e-05/0.3436, allocations: 133.6 kB / 412.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/0.3437, allocations: 69.64 kB / 412.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.3437, allocations: 16.31 kB / 412.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3438, allocations: 4 kB / 412.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3438, allocations: 0 / 412.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3438, allocations: 4 kB / 412.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.931e-05/0.3439, allocations: 169.6 kB / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3439, allocations: 0 / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/0.3439, allocations: 4.188 kB / 412.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3439, allocations: 3.938 kB / 412.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.344, allocations: 11.88 kB / 412.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.344, allocations: 0 / 412.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.344, allocations: 3.938 kB / 412.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.3441, allocations: 97.08 kB / 413 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.3441, allocations: 93.05 kB / 413.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.3442, allocations: 3.938 kB / 413.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.614e-05/0.3442, allocations: 4 kB / 413.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-06/0.3442, allocations: 7.984 kB / 413.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3442, allocations: 4 kB / 413.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.744e-05/0.3443, allocations: 98.64 kB / 413.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3443, allocations: 0 / 413.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001949/0.3445, allocations: 12 kB / 413.2 MB, free: 13.21 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.802e-05/0.3446, allocations: 99.25 kB / 413.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.3447, allocations: 51.84 kB / 413.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3447, allocations: 0 / 413.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3447, allocations: 0 / 413.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.345, allocations: 40.5 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.0002788/0.3453, allocations: 157.6 kB / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3455, allocations: 0.6962 MB / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.923e-05/0.3456, 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.354e-05/0.3456, allocations: 7.438 kB / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3456, allocations: 0 / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Templates: time 0.00264/0.3482, allocations: 0.6238 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