Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001675/0.001675, allocations: 172.4 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.393/1.393, 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.0007864/0.0007864, allocations: 74.67 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.245e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.09197, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4518, allocations: 81.94 MB / 452 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4521, allocations: 68.52 kB / 452 MB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0559/0.508, allocations: 26.82 MB / 478.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.5081, allocations: 3.938 kB / 478.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.471e-05/0.5081, allocations: 19.94 kB / 478.9 MB, free: 2.039 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.001591/0.5097, allocations: 0.9961 MB / 479.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5098, allocations: 8.031 kB / 479.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.51, allocations: 87.05 kB / 480 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.5109, allocations: 423.4 kB / 480.4 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.511, allocations: 16 kB / 480.4 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.491e-05/0.5111, allocations: 24 kB / 480.4 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/0.5119, allocations: 494.3 kB / 480.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.512, allocations: 4 kB / 480.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/0.512, allocations: 19.95 kB / 480.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.512, allocations: 0 / 480.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.5126, allocations: 364 kB / 481.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.5144, allocations: 0.9224 MB / 482.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.5151, allocations: 0.4948 MB / 482.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009406/0.516, allocations: 488.9 kB / 483.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.516, allocations: 0 / 483.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.5173, allocations: 0.6427 MB / 483.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 3.937e-06/0.5173, allocations: 0 / 483.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.002355/0.5197, allocations: 1.133 MB / 484.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.5199, allocations: 279.3 kB / 485.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.5215, allocations: 1.019 MB / 486.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.5216, allocations: 41.7 kB / 486.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.5217, allocations: 149.9 kB / 486.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.5218, allocations: 67.25 kB / 486.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.5219, allocations: 16 kB / 486.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.522, allocations: 346.8 kB / 486.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/0.5226, allocations: 347.8 kB / 487.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.523, allocations: 343.7 kB / 487.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.5236, allocations: 495.6 kB / 488 MB, free: 8.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5236, allocations: 0 / 488 MB, free: 8.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001455/0.5251, allocations: 1.102 MB / 489.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.5253, allocations: 243.9 kB / 489.3 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5253, allocations: 0 / 489.3 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5253, allocations: 4 kB / 489.3 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.683e-05/0.5254, allocations: 7.984 kB / 489.3 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5254, allocations: 0 / 489.3 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.5257, allocations: 47.81 kB / 489.4 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.5259, allocations: 119.9 kB / 489.5 MB, free: 6.871 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.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.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.0003872/0.5263, allocations: 418.9 kB / 489.9 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.5264, allocations: 83.06 kB / 490 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.5267, allocations: 155.6 kB / 490.2 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5267, allocations: 0 / 490.2 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5267, allocations: 0 / 490.2 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5267, allocations: 4 kB / 490.2 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.5291, allocations: 1.93 MB / 492.1 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5291, allocations: 0 / 492.1 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.5292, allocations: 4 kB / 492.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5292, allocations: 0 / 492.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/0.5293, allocations: 31.98 kB / 492.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5293, allocations: 4 kB / 492.1 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5293, allocations: 0 / 492.1 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.531, allocations: 1.361 MB / 493.5 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008801/0.5319, allocations: 0.5581 MB / 494 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.5321, allocations: 59.97 kB / 494.1 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.5324, allocations: 39.81 kB / 494.1 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/0.5328, allocations: 235.7 kB / 494.4 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.533, allocations: 131.9 kB / 494.5 MB, free: 1.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001352/0.5344, allocations: 0.8461 MB / 495.3 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5344, allocations: 4 kB / 495.4 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004714/0.5348, allocations: 124 kB / 495.5 MB, free: 0.6758 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,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.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.0002607/0.5351, allocations: 176.8 kB / 495.6 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.5368, allocations: 1.515 MB / 497.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5368, allocations: 4 kB / 497.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.5379, allocations: 1.136 MB / 498.3 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.5391, allocations: 264.2 kB / 498.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.5419, allocations: 1.716 MB / 0.4886 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009409/0.5429, allocations: 1.035 MB / 0.4896 GB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.5431, allocations: 33.52 kB / 0.4896 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.5431, allocations: 15.44 kB / 0.4896 GB, free: 10.55 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.5431, allocations: 0 / 0.4896 GB, free: 10.55 MB / 378.7 MB Notification: Performance of Templates: time 0.01808/0.5612, allocations: 12.65 MB / 0.502 GB, free: 13.63 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREG/DLATREG.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches