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.001198/0.001198, allocations: 118.6 kB / 18.45 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 211.7 kB / 19.4 MB, free: 3.742 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.389/1.389, allocations: 227.6 MB / 247.8 MB, free: 10.18 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.001938/0.001938, allocations: 63.91 kB / 359.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2551, allocations: 50.55 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002203/0.2573, allocations: 0.8693 MB / 411.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003283/0.2576, allocations: 115.7 kB / 411.2 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.2577, allocations: 0 / 411.2 MB, free: 488 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.441e-05/0.2578, allocations: 7.875 kB / 411.2 MB, free: 480 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.2579, allocations: 7.938 kB / 411.2 MB, free: 472 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.2581, allocations: 31.89 kB / 411.2 MB, free: 440 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.2582, allocations: 39.92 kB / 411.2 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2584, allocations: 23.98 kB / 411.3 MB, free: 376 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.2584, allocations: 19.86 kB / 411.3 MB, free: 356 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.2584, allocations: 19.91 kB / 411.3 MB, free: 336 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2584, allocations: 4 kB / 411.3 MB, free: 332 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.2585, allocations: 4 kB / 411.3 MB, free: 328 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.2585, allocations: 11.94 kB / 411.3 MB, free: 316 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.2586, allocations: 27.8 kB / 411.4 MB, free: 288 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.2587, allocations: 59.67 kB / 411.4 MB, free: 228 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2587, allocations: 0 / 411.4 MB, free: 228 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2587, allocations: 0 / 411.4 MB, free: 228 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2587, allocations: 4 kB / 411.4 MB, free: 224 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.0004566/0.2591, allocations: 367.2 kB / 411.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2592, allocations: 8.031 kB / 411.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.2592, allocations: 12.83 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.2595, allocations: 200.1 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2595, allocations: 384 / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.2595, allocations: 8.375 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.2598, allocations: 131.8 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2598, allocations: 192 / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2598, allocations: 3.938 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2598, allocations: 0 / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.551e-05/0.2598, allocations: 23.92 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.26, allocations: 169.7 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.2601, allocations: 58.72 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.2602, allocations: 32.89 kB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2602, allocations: 0 / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2602, allocations: 38.56 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2602, allocations: 0 / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001956/0.2604, allocations: 93.5 kB / 412.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.2605, allocations: 63.39 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2606, allocations: 129.8 kB / 412.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.2606, allocations: 25.7 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.2607, allocations: 84.14 kB / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.2607, allocations: 7.953 kB / 412.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.2607, allocations: 29.7 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2609, allocations: 314.8 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.2609, allocations: 7.984 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.261, allocations: 62.81 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.173e-05/0.2611, allocations: 74.73 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2611, allocations: 0 / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001294/0.2612, allocations: 89.7 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2612, allocations: 8 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2612, allocations: 4.25 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2612, allocations: 4 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.249e-05/0.2613, allocations: 11.92 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2613, allocations: 3.938 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.2613, allocations: 8 kB / 413.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2613, allocations: 7.984 kB / 413.5 MB, free: 13.89 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 0.0001088/0.2614, allocations: 129.8 kB / 413.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.2615, allocations: 73.77 kB / 413.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.2615, allocations: 16.31 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2615, allocations: 3.938 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2615, allocations: 0 / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2615, allocations: 3.984 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.2617, allocations: 169.7 kB / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2617, allocations: 0 / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.194e-05/0.2617, allocations: 4 kB / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2617, allocations: 0 / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2617, allocations: 7.922 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2617, allocations: 4 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2617, allocations: 0 / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.2618, allocations: 109 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.2619, allocations: 93.05 kB / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.2619, allocations: 7.938 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.597e-05/0.2619, allocations: 0 / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.2619, allocations: 0 / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2619, allocations: 0 / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.366e-05/0.262, allocations: 110.5 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.262, allocations: 0 / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002011/0.2622, allocations: 12 kB / 414.2 MB, free: 13.07 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.0001091/0.2623, allocations: 99.23 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.2624, allocations: 43.86 kB / 414.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2624, allocations: 0.5 kB / 414.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2624, allocations: 4 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.2628, allocations: 48.62 kB / 414.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.263, allocations: 153.6 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.2634, allocations: 0.6924 MB / 415.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.34e-05/0.2634, allocations: 7.953 kB / 415.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.2634, allocations: 11.44 kB / 415.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2634, allocations: 0 / 415.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of Templates: time 0.003215/0.2666, allocations: 0.6278 MB / 415.9 MB, free: 11.33 MB / 334.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 -s gbode -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