Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL") [: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 trunk/package.mo): time 0.001124/0.001124, allocations: 192.5 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.173/1.173, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008626/0.0008625, allocations: 90.62 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.586e-06, allocations: 4 kB / 343.1 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.08382, allocations: 51.47 MB / 394.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.3107, allocations: 82.97 MB / 477.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.311, allocations: 71.2 kB / 477.7 MB, free: 9.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06051/0.3715, allocations: 33.01 MB / 0.4987 GB, free: 15.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.3716, allocations: 12 kB / 0.4987 GB, free: 15.07 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.001038/0.3726, allocations: 1.004 MB / 0.4997 GB, free: 13.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3727, allocations: 12.03 kB / 0.4997 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.3728, allocations: 86.97 kB / 0.4998 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.3735, allocations: 427.4 kB / 0.5002 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.3735, allocations: 19.98 kB / 0.5002 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.3736, allocations: 24 kB / 0.5002 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000509/0.3741, allocations: 348.2 kB / 0.5006 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/0.3748, allocations: 494.1 kB / 0.501 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3748, allocations: 0 / 0.501 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.3749, allocations: 12 kB / 0.501 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3749, allocations: 4 kB / 0.5011 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.3764, allocations: 0.9146 MB / 0.5019 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.377, allocations: 498.6 kB / 0.5024 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.3776, allocations: 496.9 kB / 0.5029 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.3776, allocations: 4 kB / 0.5029 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006333/0.3782, allocations: 0.5954 MB / 0.5035 GB, free: 9.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.3783, allocations: 0 / 0.5035 GB, free: 9.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001079/0.3793, allocations: 0.7415 MB / 0.5042 GB, free: 9.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.3795, allocations: 279.4 kB / 0.5045 GB, free: 8.875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.3808, allocations: 1.003 MB / 0.5055 GB, free: 7.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/0.3809, allocations: 33.7 kB / 0.5055 GB, free: 7.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.381, allocations: 122 kB / 0.5056 GB, free: 7.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.3811, allocations: 71.17 kB / 0.5057 GB, free: 7.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.3811, allocations: 4 kB / 0.5057 GB, free: 7.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3813, allocations: 342.8 kB / 0.506 GB, free: 7.285 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.3817, allocations: 347.8 kB / 0.5063 GB, free: 6.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.3821, allocations: 339.8 kB / 0.5067 GB, free: 6.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.3825, allocations: 243.8 kB / 0.5069 GB, free: 6.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3825, allocations: 0 / 0.5069 GB, free: 6.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009714/0.3835, allocations: 0.7171 MB / 0.5076 GB, free: 5.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3835, allocations: 12 kB / 0.5076 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3835, allocations: 0 / 0.5076 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3835, allocations: 0 / 0.5076 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.397e-05/0.3835, allocations: 0 / 0.5076 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3836, allocations: 7.938 kB / 0.5076 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.3839, allocations: 31.88 kB / 0.5076 GB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.384, allocations: 122.4 kB / 0.5078 GB, free: 5.484 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * 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.0003453/0.3844, allocations: 410 kB / 0.5081 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.3845, allocations: 90.97 kB / 0.5082 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.3848, allocations: 143.5 kB / 0.5084 GB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.3849, allocations: 4 kB / 0.5084 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3849, allocations: 0 / 0.5084 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3849, allocations: 0 / 0.5084 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.3868, allocations: 1.466 MB / 0.5098 GB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3868, allocations: 4 kB / 0.5098 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.3869, allocations: 0 / 0.5098 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3869, allocations: 0 / 0.5098 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/0.387, allocations: 35.97 kB / 0.5098 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.387, allocations: 4 kB / 0.5098 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.387, allocations: 3.906 kB / 0.5098 GB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001179/0.3882, allocations: 0.92 MB / 0.5107 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.3892, allocations: 0.5737 MB / 0.5113 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.3894, allocations: 63.97 kB / 0.5114 GB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.3898, allocations: 31.97 kB / 0.5114 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000426/0.3902, allocations: 235.8 kB / 0.5116 GB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.3904, allocations: 131.9 kB / 0.5118 GB, free: 1.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001219/0.3916, allocations: 0.8264 MB / 0.5126 GB, free: 440 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004823/0.3921, allocations: 108 kB / 0.5127 GB, free: 332 kB / 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * 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.0002525/0.3924, allocations: 180.5 kB / 0.5128 GB, free: 140 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.3937, allocations: 1.078 MB / 0.5139 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3937, allocations: 0 / 0.5139 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009305/0.3947, allocations: 0.9489 MB / 0.5148 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3958, allocations: 263.8 kB / 0.5151 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.3988, allocations: 1.708 MB / 0.5167 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009409/0.3998, allocations: 1.049 MB / 0.5178 GB, free: 10.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.3998, allocations: 0 / 0.5178 GB, free: 10.96 MB / 394.7 MB Notification: Performance of Templates: time 0.01807/0.4179, allocations: 12.15 MB / 0.5296 GB, free: 14.64 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGL/DLATREGL.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches