Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008446/0.0008446, allocations: 70.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.97e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.09239, allocations: 47.57 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3917/0.4841, allocations: 81.97 MB / 452 MB, free: 11.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.4845, allocations: 73.08 kB / 452.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08547/0.57, allocations: 33.42 MB / 485.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.16e-06/0.5701, allocations: 3.984 kB / 485.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.5701, allocations: 16 kB / 485.5 MB, free: 11.41 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001099/0.5712, allocations: 0.9961 MB / 486.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5713, allocations: 8.031 kB / 486.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.5714, allocations: 90.92 kB / 486.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.5721, allocations: 411.6 kB / 487 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.5721, allocations: 28 kB / 487 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.5722, allocations: 20 kB / 487 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/0.573, allocations: 498.3 kB / 487.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.573, allocations: 0 / 487.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.5731, allocations: 20 kB / 487.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5731, allocations: 0 / 487.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005375/0.5736, allocations: 364 kB / 487.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.5751, allocations: 0.9377 MB / 488.8 MB, free: 7.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.5758, allocations: 0.495 MB / 489.3 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/0.5764, allocations: 488.9 kB / 489.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.5764, allocations: 0 / 489.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007855/0.5772, allocations: 0.6267 MB / 490.4 MB, free: 6.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.5772, allocations: 0 / 490.4 MB, free: 6.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001636/0.5789, allocations: 1.145 MB / 491.6 MB, free: 5.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.5791, allocations: 283.2 kB / 491.9 MB, free: 4.695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.5805, allocations: 1.019 MB / 492.9 MB, free: 3.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.5805, allocations: 41.7 kB / 492.9 MB, free: 3.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5806, allocations: 142 kB / 493.1 MB, free: 3.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.5807, allocations: 71.16 kB / 493.1 MB, free: 3.406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.5808, allocations: 12.11 kB / 493.1 MB, free: 3.395 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5809, allocations: 350.7 kB / 493.5 MB, free: 3.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.5814, allocations: 343.8 kB / 493.8 MB, free: 2.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.5819, allocations: 347.7 kB / 494.2 MB, free: 2.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.5825, allocations: 491.6 kB / 494.6 MB, free: 1.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5825, allocations: 0 / 494.6 MB, free: 1.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001487/0.584, allocations: 1.098 MB / 495.7 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.5842, allocations: 247.9 kB / 496 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5842, allocations: 0 / 496 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.5843, allocations: 4 kB / 496 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.486e-05/0.5843, allocations: 0 / 496 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.5843, allocations: 4 kB / 496 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.5847, allocations: 43.81 kB / 496 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.5849, allocations: 127.9 kB / 496.2 MB, free: 240 kB / 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: 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.0004425/0.5854, allocations: 414.9 kB / 496.6 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.5855, allocations: 87.06 kB / 496.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.5859, allocations: 155.6 kB / 496.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.5859, allocations: 4 kB / 496.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5859, allocations: 0 / 496.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5859, allocations: 0 / 496.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.5884, allocations: 1.923 MB / 498.7 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.5884, allocations: 7.984 kB / 498.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.5884, allocations: 0 / 498.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5884, allocations: 3.938 kB / 498.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.5885, allocations: 31.98 kB / 498.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5885, allocations: 4 kB / 498.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5885, allocations: 0 / 498.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.5901, allocations: 1.369 MB / 0.4884 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008128/0.5909, allocations: 0.5581 MB / 0.489 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.5911, allocations: 55.97 kB / 0.489 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.5914, allocations: 31.97 kB / 0.489 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003841/0.5918, allocations: 235.7 kB / 0.4893 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.5919, allocations: 135.9 kB / 0.4894 GB, free: 11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00116/0.5931, allocations: 0.85 MB / 0.4902 GB, free: 10.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5931, allocations: 0 / 0.4902 GB, free: 10.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004776/0.5936, allocations: 124 kB / 0.4903 GB, free: 10.04 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: 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.0002785/0.5939, allocations: 184.4 kB / 0.4905 GB, free: 9.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.5956, allocations: 1.515 MB / 0.492 GB, free: 8.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5957, allocations: 4 kB / 0.492 GB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.5968, allocations: 1.136 MB / 0.4931 GB, free: 7.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.5979, allocations: 256.2 kB / 0.4934 GB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.6007, allocations: 1.712 MB / 0.495 GB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/0.6015, allocations: 1.039 MB / 0.496 GB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.6017, allocations: 37.5 kB / 0.4961 GB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.6018, allocations: 15.44 kB / 0.4961 GB, free: 3.902 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6018, allocations: 0 / 0.4961 GB, free: 3.902 MB / 378.7 MB Notification: Performance of Templates: time 0.01735/0.6191, allocations: 12.65 MB / 0.5085 GB, free: 6.984 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGL/DLATREGL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches