Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.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.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 185.1 kB / 8.139 MB, free: 2.176 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.283/1.283, allocations: 221.4 MB / 229.9 MB, free: 3.062 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.001107/0.001107, allocations: 99.11 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.861e-06, allocations: 0 / 336.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1734, allocations: 50.39 MB / 386.9 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08013/0.2536, allocations: 82.36 MB / 469.3 MB, free: 4.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/0.2538, allocations: 67.91 kB / 469.3 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1921/0.4459, allocations: 37.2 MB / 0.4946 GB, free: 101.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.4459, allocations: 9.922 kB / 0.4947 GB, free: 101.9 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00069/0.4466, allocations: 1.011 MB / 0.4956 GB, free: 101.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.4467, allocations: 7.875 kB / 0.4956 GB, free: 101.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.4468, allocations: 87.53 kB / 0.4957 GB, free: 101.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.4473, allocations: 441.5 kB / 0.4962 GB, free: 101 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.4473, allocations: 15.38 kB / 0.4962 GB, free: 101 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.4474, allocations: 22.31 kB / 0.4962 GB, free: 101 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004111/0.4478, allocations: 353.7 kB / 0.4965 GB, free: 101 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.4484, allocations: 0.496 MB / 0.497 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4484, allocations: 6.547 kB / 0.497 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.4485, allocations: 9.75 kB / 0.497 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4485, allocations: 7.438 kB / 0.497 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.4495, allocations: 0.8399 MB / 0.4979 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.4499, allocations: 0.497 MB / 0.4983 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.4504, allocations: 493.1 kB / 0.4988 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.4504, allocations: 3.938 kB / 0.4988 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005058/0.4509, allocations: 0.6141 MB / 0.4994 GB, free: 100.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.704e-06/0.4509, allocations: 0 / 0.4994 GB, free: 100.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008981/0.4518, allocations: 0.7774 MB / 0.5002 GB, free: 100.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.4519, allocations: 279.8 kB / 0.5004 GB, free: 100.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/0.4529, allocations: 1.005 MB / 0.5014 GB, free: 99.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.453, allocations: 41.39 kB / 0.5015 GB, free: 99.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.453, allocations: 111.5 kB / 0.5016 GB, free: 99.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.4531, allocations: 81.02 kB / 0.5016 GB, free: 99.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.4531, allocations: 11 kB / 0.5017 GB, free: 99.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.4532, allocations: 344.6 kB / 0.502 GB, free: 99.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.4536, allocations: 346.1 kB / 0.5023 GB, free: 99.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.4539, allocations: 361.1 kB / 0.5027 GB, free: 99.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.4542, allocations: 255.6 kB / 0.5029 GB, free: 99.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4542, allocations: 0 / 0.5029 GB, free: 99.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008134/0.455, allocations: 0.7265 MB / 0.5036 GB, free: 99.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.455, allocations: 7.312 kB / 0.5036 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.455, allocations: 0 / 0.5036 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.455, allocations: 0 / 0.5036 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.397e-05/0.4551, allocations: 10.94 kB / 0.5036 GB, free: 99.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.4551, allocations: 0 / 0.5036 GB, free: 99.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.4554, allocations: 38 kB / 0.5037 GB, free: 99.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4555, allocations: 148.3 kB / 0.5038 GB, free: 99.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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 0.0002493/0.4558, allocations: 407.8 kB / 0.5042 GB, free: 98.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.144e-05/0.4559, allocations: 86.97 kB / 0.5043 GB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.4561, allocations: 148.8 kB / 0.5044 GB, free: 98.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4561, allocations: 7.281 kB / 0.5044 GB, free: 98.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.4561, allocations: 3.844 kB / 0.5044 GB, free: 98.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4561, allocations: 0 / 0.5044 GB, free: 98.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.4575, allocations: 1.481 MB / 0.5059 GB, free: 98.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4575, allocations: 3.234 kB / 0.5059 GB, free: 98.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-06/0.4575, allocations: 3.594 kB / 0.5059 GB, free: 98.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4575, allocations: 0 / 0.5059 GB, free: 98.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/0.4576, allocations: 33.89 kB / 0.5059 GB, free: 98.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4576, allocations: 4 kB / 0.5059 GB, free: 98.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4576, allocations: 3.938 kB / 0.5059 GB, free: 98.09 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009071/0.4585, allocations: 0.9482 MB / 0.5068 GB, free: 97.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000685/0.4592, allocations: 0.5827 MB / 0.5074 GB, free: 97.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.4594, allocations: 65.45 kB / 0.5075 GB, free: 97.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.4597, allocations: 35.53 kB / 0.5075 GB, free: 97.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/0.46, allocations: 241 kB / 0.5077 GB, free: 97.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.4601, allocations: 153.6 kB / 0.5079 GB, free: 97.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001055/0.4612, allocations: 0.8327 MB / 0.5087 GB, free: 96.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004839/0.4617, allocations: 104.8 kB / 0.5088 GB, free: 96.88 MB / 378.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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 7 * 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.0002357/0.4619, allocations: 184 kB / 0.509 GB, free: 96.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.463, allocations: 1.1 MB / 0.5101 GB, free: 96.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.463, allocations: 0 / 0.5101 GB, free: 96.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007076/0.4638, allocations: 0.921 MB / 0.511 GB, free: 95.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4648, allocations: 269.7 kB / 0.5112 GB, free: 95.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4668, allocations: 1.736 MB / 0.5129 GB, free: 94.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/0.4673, allocations: 1.053 MB / 0.5139 GB, free: 93.07 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4673, allocations: 0 / 0.5139 GB, free: 93.07 MB / 378.7 MB Notification: Performance of Templates: time 0.01253/0.4799, allocations: 13.01 MB / 0.5266 GB, free: 81.75 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches