Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 175.2 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 223.3 MB / 241.4 MB, free: 9.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 88.89 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004185, allocations: 15.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 50.42 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09781/0.3677, allocations: 76.66 MB / 479.4 MB, free: 3.684 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.368, allocations: 75.95 kB / 479.5 MB, free: 3.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003294/0.3713, allocations: 1.306 MB / 480.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3713, allocations: 0 / 480.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3713, allocations: 0 / 480.8 MB, free: 2.305 MB / 346.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.0003247/0.3716, allocations: 379.2 kB / 481.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3717, allocations: 8.031 kB / 481.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.3717, allocations: 14.97 kB / 481.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3719, allocations: 184.2 kB / 481.4 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.3719, allocations: 4.375 kB / 481.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.372, allocations: 8.359 kB / 481.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.3722, allocations: 147.5 kB / 481.5 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3723, allocations: 192 / 481.5 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3723, allocations: 3.938 kB / 481.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3723, allocations: 3.984 kB / 481.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.3723, allocations: 23.92 kB / 481.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.3725, allocations: 169.7 kB / 481.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3726, allocations: 78.7 kB / 481.8 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.446e-05/0.3727, allocations: 40.89 kB / 481.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3727, allocations: 3.984 kB / 481.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3728, allocations: 30.56 kB / 481.9 MB, free: 1.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3728, allocations: 3.938 kB / 481.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000202/0.373, allocations: 105.7 kB / 482 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.373, allocations: 63.34 kB / 482 MB, free: 0.875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3731, allocations: 140.6 kB / 482.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3732, allocations: 25.7 kB / 482.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.3732, allocations: 92.12 kB / 482.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.3732, allocations: 3.906 kB / 482.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.3732, allocations: 0 / 482.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.3733, allocations: 322.8 kB / 482.6 MB, free: 284 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.3734, allocations: 8 kB / 482.6 MB, free: 276 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-05/0.3734, allocations: 62.8 kB / 482.7 MB, free: 188 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.368e-05/0.3735, allocations: 74.75 kB / 482.7 MB, free: 88 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3735, allocations: 0 / 482.7 MB, free: 88 kB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001379/0.3736, allocations: 97.78 kB / 482.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3737, allocations: 7.938 kB / 482.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3737, allocations: 4 kB / 482.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3737, allocations: 0 / 482.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.3738, allocations: 19.94 kB / 482.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3738, allocations: 3.938 kB / 482.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.3738, allocations: 11.91 kB / 482.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3738, allocations: 4.188 kB / 482.9 MB, free: 15.93 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 8.597e-05/0.3739, allocations: 121.9 kB / 483 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/0.374, allocations: 93.39 kB / 483.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.3741, allocations: 12.72 kB / 483.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3741, allocations: 0 / 483.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3741, allocations: 4 kB / 483.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3741, allocations: 0 / 483.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.631e-05/0.3742, allocations: 173.6 kB / 483.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3742, allocations: 0 / 483.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.053e-05/0.3743, allocations: 12 kB / 483.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3743, allocations: 3.938 kB / 483.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3743, allocations: 0 / 483.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3743, allocations: 4 kB / 483.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3743, allocations: 7.984 kB / 483.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.3745, allocations: 109 kB / 483.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.3745, allocations: 93 kB / 483.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3745, allocations: 3.938 kB / 483.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.612e-05/0.3746, allocations: 11.98 kB / 483.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.3746, allocations: 0 / 483.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3746, allocations: 0 / 483.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.176e-05/0.3747, allocations: 109.8 kB / 483.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3747, allocations: 0 / 483.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.3749, allocations: 8 kB / 483.6 MB, free: 15.07 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.0001116/0.375, allocations: 108.8 kB / 483.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.3751, allocations: 43.92 kB / 483.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3751, allocations: 4.438 kB / 483.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.3751, allocations: 7.938 kB / 483.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.3754, allocations: 48.44 kB / 483.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.3757, allocations: 185.7 kB / 484 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3759, allocations: 0.7046 MB / 484.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.542e-05/0.376, allocations: 4.672 kB / 484.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.376, allocations: 11.44 kB / 484.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.376, allocations: 0 / 484.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of Templates: time 0.002462/0.3785, allocations: 0.6297 MB / 485.4 MB, free: 13.28 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches