Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009555/0.0009552, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 226.5 MB / 245.3 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007928/0.0007928, allocations: 99.91 kB / 297.4 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002132/0.0002132, allocations: 4 kB / 357.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1808, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08201/0.2629, allocations: 77.32 MB / 486 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.2631, allocations: 79.94 kB / 486.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002857/0.266, allocations: 1.242 MB / 487.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.266, allocations: 0 / 487.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.266, allocations: 4 kB / 487.3 MB, free: 12.96 MB / 362.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.0002964/0.2663, allocations: 356.3 kB / 487.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2664, allocations: 8.781 kB / 487.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.2664, allocations: 8.844 kB / 487.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2666, allocations: 185.5 kB / 487.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2666, allocations: 4.375 kB / 487.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2666, allocations: 4.375 kB / 487.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.2669, allocations: 137.6 kB / 488 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2669, allocations: 192 / 488 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2669, allocations: 3.938 kB / 488 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2669, allocations: 9.031 kB / 488 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.267, allocations: 19.94 kB / 488 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.2671, allocations: 170.9 kB / 488.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.2672, allocations: 66.72 kB / 488.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.2673, allocations: 32.89 kB / 488.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.2673, allocations: 4 kB / 488.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.2673, allocations: 42.48 kB / 488.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2673, allocations: 0 / 488.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000165/0.2675, allocations: 89.52 kB / 488.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.2676, allocations: 59.41 kB / 488.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.2677, allocations: 137.8 kB / 488.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2677, allocations: 25.7 kB / 488.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.2677, allocations: 84.14 kB / 488.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.2678, allocations: 4 kB / 488.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.2678, allocations: 0 / 488.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.2679, allocations: 318.8 kB / 489 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.2679, allocations: 11.94 kB / 489.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.245e-05/0.2679, allocations: 62.86 kB / 489.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.411e-05/0.268, allocations: 70.75 kB / 489.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.268, allocations: 0 / 489.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001103/0.2681, allocations: 89.45 kB / 489.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2682, allocations: 8.25 kB / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2682, allocations: 7.938 kB / 489.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2682, allocations: 4 kB / 489.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-05/0.2682, allocations: 7.938 kB / 489.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2682, allocations: 0 / 489.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.2683, allocations: 4 kB / 489.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2683, allocations: 4 kB / 489.3 MB, free: 10.7 MB / 362.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,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.2684, allocations: 134.7 kB / 489.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.2684, allocations: 61.61 kB / 489.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.2685, allocations: 24.3 kB / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2685, allocations: 0 / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2685, allocations: 4 kB / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2685, allocations: 0 / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.439e-05/0.2686, allocations: 165.7 kB / 489.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2686, allocations: 0 / 489.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.2686, allocations: 3.984 kB / 489.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2686, allocations: 192 / 489.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2687, allocations: 7.938 kB / 489.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2687, allocations: 3.938 kB / 489.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2687, allocations: 0 / 489.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.2688, allocations: 105 kB / 489.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.2688, allocations: 93 kB / 489.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2689, allocations: 3.938 kB / 489.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.2689, allocations: 4 kB / 489.9 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-06/0.2689, allocations: 3.984 kB / 489.9 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.2689, allocations: 4 kB / 489.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.577e-05/0.269, allocations: 102.5 kB / 490 MB, free: 9.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.269, allocations: 0 / 490 MB, free: 9.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000186/0.2692, allocations: 16 kB / 490 MB, free: 9.883 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.827e-05/0.2693, allocations: 95.25 kB / 490.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.323e-05/0.2694, allocations: 43.86 kB / 490.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2694, allocations: 0 / 490.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2694, allocations: 0 / 490.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.2696, allocations: 47.89 kB / 490.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.2699, allocations: 201 kB / 490.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.2701, allocations: 0.6965 MB / 491.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.2702, allocations: 11.44 kB / 491.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2702, allocations: 0 / 491.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of Templates: time 0.001743/0.2719, allocations: 0.7882 MB / 491.9 MB, free: 7.945 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches