Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL") [: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.0009968/0.0009965, allocations: 175.6 kB / 8.475 MB, free: 1.859 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.201/1.201, allocations: 205.2 MB / 214.1 MB, free: 1.859 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.0009262/0.0009262, allocations: 75.41 kB / 262.1 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.674e-06, allocations: 0 / 315 MB, free: 22.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08649, allocations: 47.59 MB / 362.5 MB, free: 7.242 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/0.331, allocations: 81.84 MB / 444.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.3312, allocations: 63.97 kB / 444.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.07157/0.4028, allocations: 37.93 MB / 482.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.983e-05/0.4029, allocations: 19.94 kB / 482.4 MB, free: 13.87 MB / 362.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.001448/0.4043, allocations: 1.315 MB / 483.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4044, allocations: 12.03 kB / 483.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.4046, allocations: 130.4 kB / 483.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000804/0.4054, allocations: 0.5288 MB / 484.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.4054, allocations: 12 kB / 484.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.4055, allocations: 35.98 kB / 484.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006565/0.4062, allocations: 471.7 kB / 484.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.407, allocations: 0.5911 MB / 485.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.4071, allocations: 0 / 485.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.4071, allocations: 11.98 kB / 485.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4071, allocations: 4 kB / 485.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.4092, allocations: 1.168 MB / 486.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/0.4099, allocations: 0.6859 MB / 487.3 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.4106, allocations: 0.6725 MB / 488 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.4106, allocations: 7.938 kB / 488 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007839/0.4114, allocations: 0.7095 MB / 488.7 MB, free: 7.273 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 3.356e-06/0.4114, allocations: 0 / 488.7 MB, free: 7.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001538/0.413, allocations: 0.948 MB / 489.7 MB, free: 6.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002104/0.4132, allocations: 333 kB / 490 MB, free: 5.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.4154, allocations: 1.57 MB / 491.6 MB, free: 4.352 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-05/0.4155, allocations: 45.69 kB / 491.6 MB, free: 4.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.4156, allocations: 162.3 kB / 491.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4157, allocations: 75.17 kB / 491.9 MB, free: 4.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.4158, allocations: 12 kB / 491.9 MB, free: 4.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.416, allocations: 378.7 kB / 492.2 MB, free: 3.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.4165, allocations: 451.8 kB / 492.7 MB, free: 3.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.4171, allocations: 455.6 kB / 493.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.4175, allocations: 308.7 kB / 493.4 MB, free: 2.484 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4175, allocations: 0 / 493.4 MB, free: 2.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00127/0.4188, allocations: 0.9061 MB / 494.3 MB, free: 1.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4188, allocations: 4 kB / 494.3 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4188, allocations: 3.984 kB / 494.3 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.4189, allocations: 8 kB / 494.3 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.032e-05/0.4189, allocations: 0 / 494.3 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4189, allocations: 0 / 494.3 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.4193, allocations: 35.88 kB / 494.4 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.4195, allocations: 132.2 kB / 494.5 MB, free: 1.391 MB / 362.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: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * 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.0004688/0.42, allocations: 452.5 kB / 495 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.4201, allocations: 134.4 kB / 495.1 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005938/0.4207, allocations: 255.9 kB / 495.3 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4208, allocations: 4 kB / 495.3 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4208, allocations: 3.938 kB / 495.3 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4208, allocations: 0 / 495.3 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.4234, allocations: 1.865 MB / 497.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4234, allocations: 4 kB / 497.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.4235, allocations: 3.938 kB / 497.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4235, allocations: 0 / 497.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.754e-05/0.4236, allocations: 39.88 kB / 497.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4236, allocations: 8 kB / 497.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.4236, allocations: 0 / 497.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001495/0.4251, allocations: 1.145 MB / 498.4 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.4263, allocations: 0.6825 MB / 499.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.4265, allocations: 59.97 kB / 499.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.4269, allocations: 43.88 kB / 499.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005872/0.4275, allocations: 391.6 kB / 499.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.4277, allocations: 131.9 kB / 499.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001906/0.4296, allocations: 1.283 MB / 0.4892 GB, free: 10.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000541/0.4302, allocations: 140 kB / 0.4894 GB, free: 10.63 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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * 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.0002997/0.4305, allocations: 181.7 kB / 0.4896 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.4321, allocations: 1.427 MB / 0.4909 GB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4321, allocations: 0 / 0.4909 GB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.4332, allocations: 1.224 MB / 0.4921 GB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.4344, allocations: 285 kB / 0.4924 GB, free: 7.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.4384, allocations: 2.512 MB / 0.4949 GB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.4395, allocations: 1.238 MB / 0.4961 GB, free: 3.59 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.4395, allocations: 4 kB / 0.4961 GB, free: 3.586 MB / 378.7 MB Notification: Performance of Templates: time 0.02025/0.4598, allocations: 14.62 MB / 0.5104 GB, free: 4.586 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches