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.001069/0.001069, allocations: 183 kB / 18.04 MB, free: 3.781 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.562/1.562, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0009899/0.0009904, allocations: 93.59 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 8 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2323, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09497/0.3273, allocations: 82.07 MB / 459.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.3276, allocations: 75.95 kB / 459.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05273/0.3803, allocations: 26.66 MB / 485.8 MB, free: 3.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.3804, allocations: 4 kB / 485.8 MB, free: 3.766 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.3804, allocations: 8 kB / 485.8 MB, free: 3.758 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.001438/0.3819, allocations: 1.124 MB / 487 MB, free: 2.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3819, allocations: 8.031 kB / 487 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.3821, allocations: 88 kB / 487.1 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.3827, allocations: 452 kB / 487.5 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.3828, allocations: 20.36 kB / 487.5 MB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.3829, allocations: 28.38 kB / 487.5 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008372/0.3837, allocations: 498.8 kB / 488 MB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3837, allocations: 192 / 488 MB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.3838, allocations: 23.86 kB / 488.1 MB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3838, allocations: 4 kB / 488.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.3844, allocations: 356 kB / 488.4 MB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.3859, allocations: 0.93 MB / 489.3 MB, free: 64 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.3867, allocations: 0.5025 MB / 489.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006844/0.3874, allocations: 496.8 kB / 490.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.3874, allocations: 0 / 490.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009247/0.3883, allocations: 0.6267 MB / 491 MB, free: 14.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.3883, allocations: 0 / 491 MB, free: 14.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002365/0.3907, allocations: 1.509 MB / 492.5 MB, free: 12.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/0.3909, allocations: 283.2 kB / 492.7 MB, free: 12.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.393, allocations: 1.156 MB / 493.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.841e-05/0.393, allocations: 45.69 kB / 493.9 MB, free: 11.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.3932, allocations: 146 kB / 494.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.3933, allocations: 75.08 kB / 494.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.3934, allocations: 12 kB / 494.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3936, allocations: 342.8 kB / 494.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.3941, allocations: 335.8 kB / 494.8 MB, free: 10.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.3948, allocations: 376.6 kB / 495.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.396, allocations: 0.9678 MB / 496.2 MB, free: 8.941 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.396, allocations: 4 kB / 496.2 MB, free: 8.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001629/0.3976, allocations: 1.109 MB / 497.3 MB, free: 7.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.3979, allocations: 247.9 kB / 497.5 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3979, allocations: 7.938 kB / 497.5 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3979, allocations: 0 / 497.5 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.873e-05/0.3979, allocations: 7.938 kB / 497.5 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.398, allocations: 3.984 kB / 497.5 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.3983, allocations: 43.95 kB / 497.6 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.3985, allocations: 123.9 kB / 497.7 MB, free: 7.312 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,$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,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,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 () * Number of clocked 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.00113/0.3996, allocations: 0.7568 MB / 498.5 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.3997, allocations: 91.03 kB / 498.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.4001, allocations: 147.5 kB / 498.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4001, allocations: 7.938 kB / 498.7 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4001, allocations: 4 kB / 498.7 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4001, allocations: 3.984 kB / 498.7 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.403, allocations: 1.958 MB / 0.4889 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.403, allocations: 0 / 0.4889 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.403, allocations: 3.984 kB / 0.4889 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.403, allocations: 3.938 kB / 0.4889 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/0.4031, allocations: 31.98 kB / 0.489 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.4031, allocations: 4 kB / 0.489 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4031, allocations: 0 / 0.489 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.4049, allocations: 1.381 MB / 0.4903 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008989/0.4058, allocations: 0.5658 MB / 0.4909 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.406, allocations: 51.97 kB / 0.4909 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.4064, allocations: 39.91 kB / 0.491 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003717/0.4068, allocations: 235.7 kB / 0.4912 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.407, allocations: 131.9 kB / 0.4913 GB, free: 1.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001304/0.4083, allocations: 0.8616 MB / 0.4922 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4083, allocations: 0 / 0.4922 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004948/0.4088, allocations: 124 kB / 0.4923 GB, free: 0.6914 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,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) * Number of clocked states: 0 () * 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.00024/0.4091, allocations: 184.4 kB / 0.4924 GB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1719/0.581, allocations: 1.518 MB / 0.4939 GB, free: 108.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.5811, allocations: 3.5 kB / 0.4939 GB, free: 108.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.5824, allocations: 1.14 MB / 0.495 GB, free: 107.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.5837, allocations: 263.5 kB / 0.4953 GB, free: 107.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.5868, allocations: 2.137 MB / 0.4974 GB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.5874, allocations: 1.014 MB / 0.4984 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.5876, allocations: 40.52 kB / 0.4984 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.5876, allocations: 12.62 kB / 0.4984 GB, free: 106.3 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5876, allocations: 0 / 0.4984 GB, free: 106.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01666/0.6043, allocations: 12.74 MB / 0.5109 GB, free: 102.6 MB / 378.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/jenkins1/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