Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.402, allocations: 50.54 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.00232/0.4044, allocations: 0.8468 MB / 410.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003825/0.4048, allocations: 115.6 kB / 410.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.4048, allocations: 0 / 410.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.405, allocations: 7.922 kB / 410.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.4051, allocations: 11.94 kB / 410.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.4054, allocations: 39.89 kB / 410.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.4055, allocations: 35.92 kB / 410.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4056, allocations: 27.97 kB / 410.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.4057, allocations: 23.86 kB / 410.3 MB, free: 492 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.765e-05/0.4057, allocations: 15.92 kB / 410.4 MB, free: 476 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.4058, allocations: 4 kB / 410.4 MB, free: 472 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.4058, allocations: 7.938 kB / 410.4 MB, free: 464 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.4059, allocations: 15.92 kB / 410.4 MB, free: 448 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.4059, allocations: 27.81 kB / 410.4 MB, free: 420 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.406, allocations: 63.73 kB / 410.5 MB, free: 356 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4061, allocations: 4 kB / 410.5 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4061, allocations: 0 / 410.5 MB, free: 352 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4061, allocations: 0 / 410.5 MB, free: 352 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.0005245/0.4066, allocations: 375 kB / 410.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4067, allocations: 12.02 kB / 410.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.4067, allocations: 8.844 kB / 410.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.4069, allocations: 197.3 kB / 411.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.407, allocations: 8.359 kB / 411.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.407, allocations: 12.38 kB / 411.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.4073, allocations: 135.8 kB / 411.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4073, allocations: 192 / 411.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4073, allocations: 11.94 kB / 411.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4073, allocations: 0 / 411.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.969e-05/0.4074, allocations: 27.86 kB / 411.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.4075, allocations: 169.7 kB / 411.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.4077, allocations: 74.7 kB / 411.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/0.4078, allocations: 44.88 kB / 411.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.4078, allocations: 0 / 411.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4078, allocations: 38.55 kB / 411.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.4078, allocations: 3.938 kB / 411.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002198/0.4081, allocations: 101.5 kB / 411.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.4081, allocations: 63.31 kB / 411.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4082, allocations: 136.3 kB / 411.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4083, allocations: 33.7 kB / 411.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.4083, allocations: 84.12 kB / 412 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.4083, allocations: 8 kB / 412 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.4084, allocations: 25.62 kB / 412 MB, free: 14.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4085, allocations: 322.8 kB / 412.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.4085, allocations: 8 kB / 412.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.4086, allocations: 62.8 kB / 412.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.4087, allocations: 78.73 kB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4087, allocations: 0 / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001147/0.4088, allocations: 85.56 kB / 412.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4088, allocations: 11.94 kB / 412.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4088, allocations: 4.25 kB / 412.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4088, allocations: 4 kB / 412.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.4089, allocations: 19.92 kB / 412.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4089, allocations: 4 kB / 412.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.409, allocations: 3.906 kB / 412.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.409, allocations: 11.98 kB / 412.6 MB, free: 13.93 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 (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.0001031/0.4091, allocations: 138 kB / 412.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4092, allocations: 89.61 kB / 412.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.4093, allocations: 12.72 kB / 412.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4093, allocations: 3.984 kB / 412.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4093, allocations: 0 / 412.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4093, allocations: 0 / 412.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.4094, allocations: 173.7 kB / 413 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4094, allocations: 0 / 413 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.377e-05/0.4095, allocations: 15.98 kB / 413 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4095, allocations: 8.125 kB / 413 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4095, allocations: 0 / 413 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4095, allocations: 3.938 kB / 413 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4095, allocations: 0 / 413 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.4096, allocations: 117 kB / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.4097, allocations: 93 kB / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.4097, allocations: 3.938 kB / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.556e-05/0.4098, allocations: 8 kB / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-06/0.4098, allocations: 4 kB / 413.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.4098, allocations: 0 / 413.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.194e-05/0.4099, allocations: 107.2 kB / 413.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4099, allocations: 0 / 413.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001985/0.4101, allocations: 8 kB / 413.4 MB, free: 13.05 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,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.0001078/0.4102, allocations: 103.2 kB / 413.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.4103, allocations: 52.11 kB / 413.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4103, allocations: 0 / 413.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.005e-06/0.4103, allocations: 0 / 413.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.4106, allocations: 50.91 kB / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.411, allocations: 185.3 kB / 413.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4112, allocations: 0.6924 MB / 414.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.847e-05/0.4113, allocations: 8.922 kB / 414.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.4113, allocations: 15.42 kB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4113, allocations: 0 / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of Templates: time 0.002961/0.4143, allocations: 0.7048 MB / 415.2 MB, free: 11.19 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches