Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL") [: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 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 179.2 kB / 8.474 MB, free: 1.867 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.2 MB / 214.1 MB, free: 5.164 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008316/0.0008316, allocations: 101.9 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.107e-06, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07065/0.07067, allocations: 47.57 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2397/0.3104, allocations: 81.67 MB / 444.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.3107, allocations: 67.95 kB / 444.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.05195/0.3626, allocations: 32.02 MB / 476.3 MB, free: 14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.3627, allocations: 16 kB / 476.3 MB, free: 13.98 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00152/0.3642, allocations: 1.305 MB / 477.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3643, allocations: 8.031 kB / 477.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.3645, allocations: 130.4 kB / 477.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008516/0.3654, allocations: 0.523 MB / 478.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.3655, allocations: 19.72 kB / 478.3 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.3656, allocations: 31.94 kB / 478.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006315/0.3662, allocations: 457.5 kB / 478.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.367, allocations: 0.6059 MB / 479.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.367, allocations: 0 / 479.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.3671, allocations: 12 kB / 479.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.3671, allocations: 4 kB / 479.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.369, allocations: 1.079 MB / 480.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.3696, allocations: 0.6882 MB / 481.2 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.3703, allocations: 0.668 MB / 481.8 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3703, allocations: 4 kB / 481.8 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007629/0.3711, allocations: 0.7239 MB / 482.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.575e-06/0.3711, allocations: 0 / 482.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001297/0.3724, allocations: 0.9728 MB / 483.5 MB, free: 8.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.3725, allocations: 322.6 kB / 483.8 MB, free: 7.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.3745, allocations: 1.55 MB / 485.4 MB, free: 6.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.484e-05/0.3746, allocations: 43.94 kB / 485.4 MB, free: 6.426 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3747, allocations: 155 kB / 485.6 MB, free: 6.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.3748, allocations: 88.78 kB / 485.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.3749, allocations: 15.25 kB / 485.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3751, allocations: 382.5 kB / 486.1 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/0.3756, allocations: 452.9 kB / 486.5 MB, free: 5.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.3761, allocations: 447.8 kB / 486.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.3765, allocations: 303.7 kB / 487.2 MB, free: 5.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3765, allocations: 4 kB / 487.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001162/0.3776, allocations: 0.9086 MB / 488.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3777, allocations: 4 kB / 488.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3777, allocations: 0 / 488.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3777, allocations: 4 kB / 488.2 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.118e-05/0.3777, allocations: 7.938 kB / 488.2 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3777, allocations: 7.938 kB / 488.2 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.3781, allocations: 35.06 kB / 488.2 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.3783, allocations: 147.9 kB / 488.4 MB, free: 4.129 MB / 330.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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.0004261/0.3787, allocations: 456 kB / 488.8 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.3789, allocations: 134.4 kB / 488.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004839/0.3794, allocations: 252.3 kB / 489.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3794, allocations: 0 / 489.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3794, allocations: 0 / 489.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3794, allocations: 0 / 489.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.3819, allocations: 1.879 MB / 491.1 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3819, allocations: 7.938 kB / 491.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.382, allocations: 0 / 491.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.382, allocations: 4 kB / 491.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-05/0.3821, allocations: 35.98 kB / 491.1 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3821, allocations: 0 / 491.1 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3821, allocations: 0 / 491.1 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001386/0.3835, allocations: 1.136 MB / 492.2 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.3847, allocations: 0.6943 MB / 492.9 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.3849, allocations: 67.97 kB / 493 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.3853, allocations: 39.81 kB / 493 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005345/0.3858, allocations: 363.7 kB / 493.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/0.386, allocations: 163.4 kB / 493.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001861/0.3879, allocations: 1.266 MB / 494.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006123/0.3885, allocations: 132 kB / 495 MB, free: 13.63 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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.00027/0.3888, allocations: 193.7 kB / 495.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.3903, allocations: 1.455 MB / 496.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3904, allocations: 0 / 496.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.3915, allocations: 1.177 MB / 497.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3926, allocations: 297.5 kB / 498.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.3967, allocations: 2.476 MB / 0.4888 GB, free: 7.902 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.3977, allocations: 1.251 MB / 0.49 GB, free: 6.621 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3977, allocations: 0 / 0.49 GB, free: 6.621 MB / 346.7 MB Notification: Performance of Templates: time 0.02064/0.4184, allocations: 15.56 MB / 0.5052 GB, free: 6.672 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DFFREGSRL/DFFREGSRL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches