Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 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: 221.5 MB / 230.3 MB, free: 7.559 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.000807/0.0008071, allocations: 90.28 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.593e-05/1.583e-05, allocations: 8 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09452, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3029/0.3974, allocations: 75.86 MB / 463.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.3977, allocations: 73.67 kB / 463.4 MB, free: 2.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003136/0.4008, allocations: 1.242 MB / 464.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4009, allocations: 3.938 kB / 464.6 MB, free: 1.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4009, allocations: 4.75 kB / 464.6 MB, free: 1.684 MB / 330.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.0003433/0.4012, allocations: 339.1 kB / 465 MB, free: 1.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4013, allocations: 8.031 kB / 465 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.4013, allocations: 15.86 kB / 465 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.4015, allocations: 190.8 kB / 465.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.4016, allocations: 4 kB / 465.2 MB, free: 1.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.4016, allocations: 4 kB / 465.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.889e-05/0.4017, allocations: 16 kB / 465.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.4019, allocations: 115.2 kB / 465.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4019, allocations: 4 kB / 465.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.4019, allocations: 3.953 kB / 465.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.4019, allocations: 0.5 kB / 465.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.4021, allocations: 146.2 kB / 465.5 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.4022, allocations: 50.78 kB / 465.5 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.4023, allocations: 43.47 kB / 465.6 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.4023, allocations: 4 kB / 465.6 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.4023, allocations: 30.56 kB / 465.6 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.4023, allocations: 0 / 465.6 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001533/0.4025, allocations: 73.67 kB / 465.7 MB, free: 0.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.4025, allocations: 55.41 kB / 465.7 MB, free: 444 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4027, allocations: 114.5 kB / 465.8 MB, free: 324 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.4027, allocations: 29.64 kB / 465.9 MB, free: 288 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.4027, allocations: 84.14 kB / 465.9 MB, free: 200 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.4027, allocations: 11.98 kB / 466 MB, free: 188 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.4027, allocations: 0 / 466 MB, free: 188 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4029, allocations: 318.8 kB / 466.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.4029, allocations: 4 kB / 466.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.158e-05/0.4029, allocations: 54.88 kB / 466.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.403, allocations: 19.92 kB / 466.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.403, allocations: 0 / 466.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000117/0.4031, allocations: 85.59 kB / 466.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4031, allocations: 4 kB / 466.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4031, allocations: 4 kB / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4032, allocations: 0 / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.335e-05/0.4032, allocations: 7.984 kB / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.4032, allocations: 7.938 kB / 466.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.4032, allocations: 0 / 466.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.4033, allocations: 4 kB / 466.5 MB, free: 15.64 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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 9.486e-05/0.4034, allocations: 114.6 kB / 466.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.4035, allocations: 61.59 kB / 466.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.4035, allocations: 12.62 kB / 466.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4035, allocations: 3.938 kB / 466.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4035, allocations: 0 / 466.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4035, allocations: 0 / 466.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.109e-05/0.4036, allocations: 150.2 kB / 466.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4036, allocations: 192 / 466.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.4036, allocations: 7.984 kB / 466.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4037, allocations: 3.938 kB / 466.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.4037, allocations: 0 / 466.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4037, allocations: 4 kB / 466.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4037, allocations: 0 / 466.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.4038, allocations: 96.03 kB / 466.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.4039, allocations: 101 kB / 467 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.4039, allocations: 0 / 467 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.423e-05/0.4039, allocations: 0 / 467 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-06/0.4039, allocations: 0 / 467 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.4039, allocations: 0 / 467 MB, free: 15.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.299e-05/0.404, allocations: 117.1 kB / 467.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.404, allocations: 0 / 467.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.4042, allocations: 4 kB / 467.1 MB, free: 14.91 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,xor.u1,xor.u2,xor.y,integerConstant.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.000101/0.4043, allocations: 99.25 kB / 467.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.4044, allocations: 36.16 kB / 467.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4044, allocations: 0 / 467.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.4044, allocations: 4.5 kB / 467.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.4046, allocations: 32.02 kB / 467.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.4049, allocations: 113.5 kB / 467.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.4052, allocations: 0.7002 MB / 468.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.998e-05/0.4052, allocations: 4 kB / 468.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.4052, allocations: 11.44 kB / 468.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4053, allocations: 0 / 468.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of Templates: time 0.002187/0.4074, allocations: 0.5293 MB / 468.6 MB, free: 13.33 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches