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.0009486/0.0009488, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.3 MB / 214.4 MB, free: 1.738 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.0008297/0.0008297, allocations: 88.11 kB / 262.5 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.909e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08177, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2985/0.3803, allocations: 81.54 MB / 444.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.3805, allocations: 71.64 kB / 444.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06005/0.4406, allocations: 33.21 MB / 477.9 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4407, allocations: 0 / 477.9 MB, free: 2.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.4407, allocations: 8 kB / 477.9 MB, free: 2.891 MB / 346.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.001001/0.4417, allocations: 0.9961 MB / 478.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.4417, allocations: 16.03 kB / 478.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.4419, allocations: 90.92 kB / 479 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.4424, allocations: 415.6 kB / 479.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.4425, allocations: 16 kB / 479.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.4425, allocations: 20 kB / 479.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004707/0.443, allocations: 344.1 kB / 479.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.4436, allocations: 470.9 kB / 480.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.4437, allocations: 0 / 480.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.4437, allocations: 11.98 kB / 480.3 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4437, allocations: 11.89 kB / 480.3 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.4449, allocations: 0.8988 MB / 481.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.4455, allocations: 494.6 kB / 481.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.446, allocations: 480.9 kB / 482.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.446, allocations: 0 / 482.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006642/0.4467, allocations: 0.6266 MB / 482.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.4467, allocations: 0 / 482.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001268/0.448, allocations: 0.8713 MB / 483.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/0.4481, allocations: 287.3 kB / 483.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.4493, allocations: 0.98 MB / 484.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.4494, allocations: 33.7 kB / 484.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4495, allocations: 146 kB / 485.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.4496, allocations: 71.17 kB / 485.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.4497, allocations: 8 kB / 485.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4498, allocations: 346.8 kB / 485.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.4502, allocations: 328 kB / 485.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.4506, allocations: 335.8 kB / 486.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.4509, allocations: 244 kB / 486.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.451, allocations: 0 / 486.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001201/0.4522, allocations: 0.8287 MB / 487.2 MB, free: 9.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.4524, allocations: 247.8 kB / 487.4 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4524, allocations: 0 / 487.4 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4524, allocations: 0 / 487.4 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.111e-05/0.4524, allocations: 7.938 kB / 487.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4525, allocations: 0 / 487.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.4528, allocations: 43.88 kB / 487.5 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.4529, allocations: 123.9 kB / 487.6 MB, free: 8.828 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: 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.0003464/0.4533, allocations: 406 kB / 488 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4534, allocations: 87.02 kB / 488.1 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.4537, allocations: 144 kB / 488.2 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4537, allocations: 11.91 kB / 488.2 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4537, allocations: 8 kB / 488.2 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4537, allocations: 0 / 488.2 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.4556, allocations: 1.588 MB / 489.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4556, allocations: 0 / 489.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.858e-06/0.4557, allocations: 4 kB / 489.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4557, allocations: 3.984 kB / 489.8 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.4557, allocations: 31.98 kB / 489.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4557, allocations: 3.938 kB / 489.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4557, allocations: 3.938 kB / 489.9 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.4571, allocations: 1.061 MB / 490.9 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007622/0.4579, allocations: 0.562 MB / 491.5 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.458, allocations: 59.91 kB / 491.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.4583, allocations: 31.97 kB / 491.6 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003941/0.4587, allocations: 239.7 kB / 491.8 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.4589, allocations: 127.9 kB / 491.9 MB, free: 4.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00101/0.4599, allocations: 0.807 MB / 492.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4599, allocations: 4 kB / 492.8 MB, free: 3.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004323/0.4603, allocations: 120 kB / 492.9 MB, free: 3.418 MB / 362.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.0002801/0.4606, allocations: 186.5 kB / 493.1 MB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.4622, allocations: 1.476 MB / 494.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4622, allocations: 0 / 494.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009071/0.4631, allocations: 1.121 MB / 495.7 MB, free: 472 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.4642, allocations: 254.8 kB / 495.9 MB, free: 212 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.4668, allocations: 1.696 MB / 497.6 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.4675, allocations: 1.038 MB / 498.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.4677, allocations: 37.8 kB / 498.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.4677, allocations: 15.44 kB / 498.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4677, allocations: 4 kB / 498.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of Templates: time 0.01511/0.4829, allocations: 12.24 MB / 0.499 GB, free: 0.8516 MB / 378.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