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/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.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/Complex trunk/package.mo): time 0.001057/0.001058, allocations: 198 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008823/0.0008823, allocations: 104.7 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002026/0.0002026, allocations: 4 kB / 357.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1805, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08117/0.2617, allocations: 77.42 MB / 486.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.262, allocations: 76.64 kB / 486.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003366/0.2654, allocations: 1.305 MB / 488.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2654, allocations: 0 / 488.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.2655, allocations: 6.031 kB / 488.2 MB, free: 11.82 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.0003584/0.2658, allocations: 367 kB / 488.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2659, allocations: 8.031 kB / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.2659, allocations: 7.906 kB / 488.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.2661, allocations: 202.3 kB / 488.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2661, allocations: 0 / 488.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.2661, allocations: 8 kB / 488.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.2664, allocations: 134.2 kB / 488.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2665, allocations: 11.88 kB / 488.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2665, allocations: 4 kB / 488.9 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2665, allocations: 0 / 488.9 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.81e-05/0.2665, allocations: 23.98 kB / 489 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2667, allocations: 169.6 kB / 489.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.2668, allocations: 74.73 kB / 489.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.2669, allocations: 11.88 kB / 489.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2669, allocations: 38.52 kB / 489.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.2669, allocations: 0 / 489.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002031/0.2671, allocations: 97.58 kB / 489.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.2672, allocations: 59.41 kB / 489.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2673, allocations: 131.9 kB / 489.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2673, allocations: 25.7 kB / 489.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.2673, allocations: 88.14 kB / 489.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.2674, allocations: 3.984 kB / 489.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/0.2674, allocations: 4 kB / 489.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2675, allocations: 318.8 kB / 490 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.2675, allocations: 15.92 kB / 490 MB, free: 9.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.188e-05/0.2676, allocations: 55.33 kB / 490 MB, free: 9.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.2676, allocations: 23.98 kB / 490.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2676, allocations: 0 / 490.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000122/0.2678, allocations: 89.62 kB / 490.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2678, allocations: 12.03 kB / 490.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2678, allocations: 3.953 kB / 490.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2678, allocations: 7.984 kB / 490.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.2679, allocations: 15.94 kB / 490.2 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2679, allocations: 7.984 kB / 490.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.2679, allocations: 8 kB / 490.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.268, allocations: 4 kB / 490.2 MB, free: 9.598 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 (sum.y,sum.u[2],sum.u[1],const.y,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 9.097e-05/0.2681, allocations: 125.6 kB / 490.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.2682, allocations: 89.47 kB / 490.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.2682, allocations: 16.7 kB / 490.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2682, allocations: 3.953 kB / 490.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2682, allocations: 0 / 490.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2682, allocations: 0 / 490.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2683, allocations: 169.7 kB / 490.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2683, allocations: 192 / 490.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.2684, allocations: 15.98 kB / 490.6 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2684, allocations: 3.938 kB / 490.6 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.2684, allocations: 4 kB / 490.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2684, allocations: 0 / 490.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2684, allocations: 7.953 kB / 490.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.2686, allocations: 109 kB / 490.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.2686, allocations: 96.91 kB / 490.8 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.2687, allocations: 8 kB / 490.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.2687, allocations: 0 / 490.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-06/0.2687, allocations: 0 / 490.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.2687, allocations: 7.953 kB / 490.9 MB, free: 8.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.465e-05/0.2688, allocations: 111.2 kB / 491 MB, free: 8.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.553e-06/0.2688, allocations: 0 / 491 MB, free: 8.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002052/0.269, allocations: 15.94 kB / 491 MB, free: 8.727 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,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 (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 0.000113/0.2691, allocations: 96.8 kB / 491.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.2693, allocations: 47.91 kB / 491.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2693, allocations: 0.5 kB / 491.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.2693, allocations: 0 / 491.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2696, allocations: 58.17 kB / 491.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.2699, allocations: 179.2 kB / 491.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2702, allocations: 0.7043 MB / 492.1 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.63e-05/0.2702, allocations: 8.672 kB / 492.1 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.2702, allocations: 11.44 kB / 492.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2702, allocations: 0 / 492.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of Templates: time 0.002597/0.2728, allocations: 0.6143 MB / 492.7 MB, free: 6.965 MB / 362.7 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches