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.001101/0.001101, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.381/1.381, allocations: 223.2 MB / 240.3 MB, free: 10.11 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.0009061/0.0009061, allocations: 95.67 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 15.94 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2892, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3982, allocations: 76.62 MB / 478.1 MB, free: 3.828 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.3985, allocations: 75.95 kB / 478.2 MB, free: 3.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003665/0.4022, allocations: 1.302 MB / 479.5 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4022, allocations: 0 / 479.5 MB, free: 2.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4022, allocations: 3.938 kB / 479.5 MB, free: 2.453 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.0003706/0.4026, allocations: 363.1 kB / 479.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4026, allocations: 8.031 kB / 479.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.4027, allocations: 15.77 kB / 479.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.4029, allocations: 199 kB / 480.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.4029, allocations: 8 kB / 480.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.4029, allocations: 3.938 kB / 480.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.4032, allocations: 143.8 kB / 480.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4033, allocations: 0 / 480.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4033, allocations: 4 kB / 480.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.4033, allocations: 7.938 kB / 480.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/0.4034, allocations: 16 kB / 480.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.4035, allocations: 173.6 kB / 480.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.4037, allocations: 82.69 kB / 480.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.4037, allocations: 0 / 480.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.4037, allocations: 34.56 kB / 480.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 8.01e-07/0.4037, allocations: 0 / 480.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000223/0.404, allocations: 97.81 kB / 480.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.404, allocations: 63.41 kB / 480.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4041, allocations: 133 kB / 480.8 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.4042, allocations: 29.7 kB / 480.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.4042, allocations: 92.28 kB / 480.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.4042, allocations: 4 kB / 480.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.4042, allocations: 0 / 480.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4044, allocations: 322.8 kB / 481.3 MB, free: 492 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.4044, allocations: 7.984 kB / 481.3 MB, free: 484 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.962e-05/0.4044, allocations: 62.84 kB / 481.3 MB, free: 396 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.4045, allocations: 20 kB / 481.4 MB, free: 376 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4045, allocations: 0 / 481.4 MB, free: 376 kB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001325/0.4046, allocations: 97.41 kB / 481.4 MB, free: 272 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4047, allocations: 7.984 kB / 481.5 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4047, allocations: 0 / 481.5 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4047, allocations: 4 kB / 481.5 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.4048, allocations: 15.94 kB / 481.5 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4048, allocations: 4 kB / 481.5 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.4048, allocations: 4 kB / 481.5 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4049, allocations: 8.391 kB / 481.5 MB, free: 228 kB / 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 () * 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.979e-05/0.405, allocations: 129.8 kB / 481.6 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.4051, allocations: 81.47 kB / 481.7 MB, free: 0 / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.4051, allocations: 16.7 kB / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4051, allocations: 0 / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4052, allocations: 0 / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4052, allocations: 0 / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.4053, allocations: 181.5 kB / 481.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4053, allocations: 3.984 kB / 481.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.67e-05/0.4054, allocations: 19.98 kB / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4054, allocations: 0 / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.4054, allocations: 0 / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4054, allocations: 0 / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4054, allocations: 0 / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.4055, allocations: 112.9 kB / 482 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.4056, allocations: 97 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.4056, allocations: 0 / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.32e-05/0.4057, allocations: 4 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-06/0.4057, allocations: 0 / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.4057, allocations: 4 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.193e-05/0.4058, allocations: 117.5 kB / 482.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4058, allocations: 0 / 482.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.406, allocations: 8 kB / 482.3 MB, free: 15.36 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.0001198/0.4061, allocations: 100.8 kB / 482.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.4063, allocations: 55.89 kB / 482.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4063, allocations: 0 / 482.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.4063, allocations: 3.938 kB / 482.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.4065, allocations: 54.48 kB / 482.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.4068, allocations: 187.7 kB / 482.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.4071, allocations: 0.6965 MB / 483.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.901e-05/0.4071, allocations: 4.672 kB / 483.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.4072, allocations: 11.44 kB / 483.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4072, allocations: 0 / 483.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of Templates: time 0.00263/0.4098, allocations: 0.619 MB / 484 MB, free: 13.57 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/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