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.001521/0.001521, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.416/1.416, allocations: 221.3 MB / 235.5 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008365/0.0008366, allocations: 89.31 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.156e-05, allocations: 4 kB / 343.8 MB, free: 4.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09336, allocations: 50.41 MB / 394.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3037/0.3971, allocations: 76.55 MB / 470.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.3974, allocations: 77.64 kB / 470.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003315/0.4007, allocations: 1.307 MB / 472.2 MB, free: 9.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4007, allocations: 4 kB / 472.2 MB, free: 9.656 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.4007, allocations: 0 / 472.2 MB, free: 9.656 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.0003032/0.401, allocations: 351 kB / 472.5 MB, free: 9.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4011, allocations: 12.03 kB / 472.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.4011, allocations: 15.86 kB / 472.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.4013, allocations: 186.9 kB / 472.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4013, allocations: 4 kB / 472.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.4014, allocations: 11.94 kB / 472.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.4016, allocations: 133.3 kB / 472.9 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4017, allocations: 4 kB / 472.9 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4017, allocations: 0 / 472.9 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.4017, allocations: 7.891 kB / 472.9 MB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.4017, allocations: 27.98 kB / 472.9 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.4019, allocations: 169.6 kB / 473.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.402, allocations: 78.69 kB / 473.2 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.4021, allocations: 40.84 kB / 473.2 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.4021, allocations: 8 kB / 473.2 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.4022, allocations: 30.56 kB / 473.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.4022, allocations: 0 / 473.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001661/0.4023, allocations: 85.66 kB / 473.3 MB, free: 8.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.4024, allocations: 63.36 kB / 473.4 MB, free: 8.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.4025, allocations: 127.7 kB / 473.5 MB, free: 8.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.4025, allocations: 25.7 kB / 473.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.4026, allocations: 96.12 kB / 473.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.4026, allocations: 0 / 473.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.4026, allocations: 0 / 473.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4027, allocations: 322.8 kB / 473.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.4027, allocations: 8 kB / 473.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.4028, allocations: 54.88 kB / 474 MB, free: 7.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.4028, allocations: 23.92 kB / 474 MB, free: 7.574 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4028, allocations: 0 / 474 MB, free: 7.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001216/0.403, allocations: 93.41 kB / 474.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.403, allocations: 8 kB / 474.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.403, allocations: 0 / 474.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.403, allocations: 7.984 kB / 474.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.4031, allocations: 12 kB / 474.1 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.4031, allocations: 7.938 kB / 474.2 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.4032, allocations: 12.73 kB / 474.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4032, allocations: 4.25 kB / 474.2 MB, free: 7.426 MB / 346.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 () * 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.513e-05/0.4032, allocations: 119.1 kB / 474.3 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4034, allocations: 81.58 kB / 474.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.4034, allocations: 12.62 kB / 474.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.4034, allocations: 0 / 474.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4034, allocations: 192 / 474.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4034, allocations: 0 / 474.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.4035, allocations: 181.5 kB / 474.6 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4036, allocations: 4 kB / 474.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.4036, allocations: 8 kB / 474.6 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4037, allocations: 8 kB / 474.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.4037, allocations: 3.938 kB / 474.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.4037, allocations: 3.984 kB / 474.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4037, allocations: 0 / 474.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.4039, allocations: 109 kB / 474.7 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.4039, allocations: 100.9 kB / 474.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.404, allocations: 0 / 474.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.436e-05/0.404, allocations: 3.984 kB / 474.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-06/0.404, allocations: 4 kB / 474.8 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-06/0.404, allocations: 4 kB / 474.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.506e-05/0.4041, allocations: 108.8 kB / 474.9 MB, free: 6.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4041, allocations: 0 / 474.9 MB, free: 6.598 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001814/0.4043, allocations: 8 kB / 474.9 MB, free: 6.59 MB / 346.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 () * 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.000119/0.4044, allocations: 104.7 kB / 475 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.4045, allocations: 52.17 kB / 475.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4045, allocations: 0 / 475.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.4045, allocations: 0 / 475.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.4048, allocations: 39.97 kB / 475.1 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.405, allocations: 126.6 kB / 475.2 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.4053, allocations: 0.7004 MB / 475.9 MB, free: 5.516 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.04e-05/0.4053, allocations: 12.89 kB / 475.9 MB, free: 5.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.4054, allocations: 15.38 kB / 476 MB, free: 5.484 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4054, allocations: 0 / 476 MB, free: 5.484 MB / 346.7 MB Notification: Performance of Templates: time 0.002332/0.4077, allocations: 0.618 MB / 476.6 MB, free: 4.871 MB / 346.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/jenkins/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