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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0019/0.001901, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 226.8 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009371/0.0009371, allocations: 92.77 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 55.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2597, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002007/0.2618, allocations: 0.9134 MB / 408 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002925/0.2621, allocations: 122.3 kB / 408.1 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.2622, allocations: 7.938 kB / 408.1 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.2623, allocations: 0 / 408.1 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2624, allocations: 7.922 kB / 408.1 MB, free: 26.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2626, allocations: 27.97 kB / 408.1 MB, free: 26.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.2627, allocations: 35.92 kB / 408.2 MB, free: 26.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.2628, allocations: 28.34 kB / 408.2 MB, free: 26.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.2628, allocations: 15.88 kB / 408.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.168e-05/0.2628, allocations: 15.92 kB / 408.2 MB, free: 26.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2629, allocations: 4 kB / 408.2 MB, free: 26.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.2629, allocations: 4 kB / 408.2 MB, free: 26.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.2629, allocations: 15.92 kB / 408.2 MB, free: 26.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.263, allocations: 23.8 kB / 408.3 MB, free: 26.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.285e-05/0.2631, allocations: 51.75 kB / 408.3 MB, free: 26.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2631, allocations: 0 / 408.3 MB, free: 26.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2631, allocations: 0 / 408.3 MB, free: 26.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.2631, allocations: 4 kB / 408.3 MB, free: 26.54 MB / 298.7 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.000316/0.2634, allocations: 368.8 kB / 408.7 MB, free: 26.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2635, allocations: 12.59 kB / 408.7 MB, free: 26.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.2635, allocations: 8.844 kB / 408.7 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2636, allocations: 196.1 kB / 408.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.2637, allocations: 8.312 kB / 408.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.2637, allocations: 384 / 408.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.2639, allocations: 135.8 kB / 409 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2639, allocations: 192 / 409 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2639, allocations: 3.938 kB / 409 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2639, allocations: 0 / 409 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.948e-05/0.264, allocations: 19.98 kB / 409.1 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.586e-05/0.2641, allocations: 169.6 kB / 409.2 MB, free: 25.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.2642, allocations: 74.69 kB / 409.3 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.2643, allocations: 32.86 kB / 409.3 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.2643, allocations: 7.984 kB / 409.3 MB, free: 25.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.2643, allocations: 34.55 kB / 409.4 MB, free: 25.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.2643, allocations: 0 / 409.4 MB, free: 25.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001626/0.2645, allocations: 89.52 kB / 409.5 MB, free: 25.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.2645, allocations: 63.28 kB / 409.5 MB, free: 25.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.2646, allocations: 137.2 kB / 409.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.2646, allocations: 25.7 kB / 409.7 MB, free: 24.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.019e-05/0.2646, allocations: 88.14 kB / 409.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.2646, allocations: 7.984 kB / 409.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.2647, allocations: 25.62 kB / 409.8 MB, free: 24.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.2647, allocations: 318.8 kB / 410.1 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.2648, allocations: 8 kB / 410.1 MB, free: 24.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.2648, allocations: 62.86 kB / 410.2 MB, free: 24.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.2648, allocations: 70.75 kB / 410.2 MB, free: 24.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2648, allocations: 8 kB / 410.3 MB, free: 24.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.16e-05/0.2649, allocations: 81.5 kB / 410.3 MB, free: 24.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.265, allocations: 12.23 kB / 410.3 MB, free: 24.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.265, allocations: 7.938 kB / 410.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.265, allocations: 0 / 410.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.465e-05/0.265, allocations: 4 kB / 410.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.265, allocations: 4 kB / 410.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.2651, allocations: 11.84 kB / 410.4 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2651, allocations: 4 kB / 410.4 MB, free: 24.21 MB / 298.7 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 5.57e-05/0.2651, allocations: 131.2 kB / 410.5 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.2652, allocations: 62.02 kB / 410.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.2652, allocations: 24.3 kB / 410.6 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2652, allocations: 192 / 410.6 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2652, allocations: 0 / 410.6 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2653, allocations: 3.938 kB / 410.6 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.684e-05/0.2653, allocations: 173.6 kB / 410.8 MB, free: 23.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2653, allocations: 0 / 410.8 MB, free: 23.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-06/0.2653, allocations: 7.922 kB / 410.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.2653, allocations: 0 / 410.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.2654, allocations: 7.938 kB / 410.8 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2654, allocations: 4 kB / 410.8 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2654, allocations: 4.078 kB / 410.8 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.2656, allocations: 0.6668 MB / 411.5 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.2657, allocations: 93 kB / 411.5 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.2657, allocations: 0 / 411.5 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.2657, allocations: 0 / 411.5 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-06/0.2657, allocations: 3.938 kB / 411.5 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2657, allocations: 4 kB / 411.6 MB, free: 22.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.926e-05/0.2658, allocations: 107.2 kB / 411.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2658, allocations: 0 / 411.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000328/0.2661, allocations: 12 kB / 411.7 MB, free: 22.77 MB / 298.7 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 8.189e-05/0.2662, allocations: 95.25 kB / 411.8 MB, free: 22.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.2663, allocations: 48.3 kB / 411.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2663, allocations: 64 / 411.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-07/0.2663, allocations: 4 kB / 411.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.2666, allocations: 42.77 kB / 411.9 MB, free: 22.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.2669, allocations: 302.8 kB / 412.1 MB, free: 22.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.267, allocations: 0.7005 MB / 412.8 MB, free: 21.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.736e-05/0.267, allocations: 3.984 kB / 412.9 MB, free: 21.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.267, allocations: 11.44 kB / 412.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.267, allocations: 3.938 kB / 412.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of Templates: time 0.002212/0.2692, allocations: 0.6127 MB / 413.5 MB, free: 20.89 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches