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") [: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 3.2.3+maint.om/package.mo): time 0.001026/0.001027, allocations: 178.5 kB / 8.474 MB, free: 1.867 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 205.2 MB / 214.1 MB, free: 5.172 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.0008393/0.0008392, allocations: 101.8 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.67e-06/5.711e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07286/0.07288, allocations: 47.57 MB / 362.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.3122, allocations: 81.2 MB / 443.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.3125, allocations: 67.38 kB / 443.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04745/0.36, allocations: 26.1 MB / 469.9 MB, free: 2.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.032e-05/0.3601, allocations: 13.88 kB / 469.9 MB, free: 2.398 MB / 314.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.001898/0.362, allocations: 1.006 MB / 470.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.362, allocations: 9.219 kB / 470.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.3623, allocations: 94.62 kB / 471 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.3632, allocations: 425.8 kB / 471.4 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.3633, allocations: 15.44 kB / 471.5 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3634, allocations: 19.84 kB / 471.5 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006406/0.3641, allocations: 360.2 kB / 471.8 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008165/0.3649, allocations: 478.7 kB / 472.3 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3649, allocations: 1.25 kB / 472.3 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/0.365, allocations: 15.61 kB / 472.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.365, allocations: 2.25 kB / 472.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.3671, allocations: 0.9187 MB / 473.2 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.3676, allocations: 497.1 kB / 473.7 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.3681, allocations: 496.1 kB / 474.2 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.3681, allocations: 4 kB / 474.2 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006248/0.3688, allocations: 0.5861 MB / 474.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.995e-06/0.3688, allocations: 0 / 474.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001187/0.37, allocations: 0.7581 MB / 475.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.3702, allocations: 278.7 kB / 475.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.3719, allocations: 0.9955 MB / 476.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.3719, allocations: 41.7 kB / 476.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.372, allocations: 113 kB / 477 MB, free: 13.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3721, allocations: 68.8 kB / 477 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.3722, allocations: 8 kB / 477 MB, free: 13.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3723, allocations: 344.9 kB / 477.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.3728, allocations: 344.8 kB / 477.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.3732, allocations: 342.3 kB / 478.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.3736, allocations: 247.5 kB / 478.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3736, allocations: 4 kB / 478.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001075/0.3747, allocations: 0.7115 MB / 479 MB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3747, allocations: 4 kB / 479 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3747, allocations: 0 / 479 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3747, allocations: 0 / 479 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.811e-05/0.3748, allocations: 4 kB / 479 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3748, allocations: 0 / 479 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.3752, allocations: 43.56 kB / 479.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.3754, allocations: 127.9 kB / 479.2 MB, free: 12.12 MB / 330.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.0003944/0.3758, allocations: 392.3 kB / 479.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.3759, allocations: 94.91 kB / 479.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.3763, allocations: 150 kB / 479.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3763, allocations: 0 / 479.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3763, allocations: 0 / 479.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3763, allocations: 0 / 479.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.3784, allocations: 1.469 MB / 481.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3784, allocations: 4 kB / 481.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.3785, allocations: 3.188 kB / 481.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3785, allocations: 0 / 481.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/0.3786, allocations: 39.25 kB / 481.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3786, allocations: 0 / 481.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3786, allocations: 0 / 481.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001163/0.3797, allocations: 0.9219 MB / 482.2 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008966/0.3806, allocations: 0.5722 MB / 482.8 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.3809, allocations: 53.72 kB / 482.9 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.3813, allocations: 39.81 kB / 482.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/0.3817, allocations: 240.2 kB / 483.1 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/0.3819, allocations: 135.3 kB / 483.3 MB, free: 8.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001184/0.3831, allocations: 0.8234 MB / 484.1 MB, free: 8.051 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005356/0.3836, allocations: 115.2 kB / 484.2 MB, free: 7.941 MB / 330.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.0002446/0.3839, allocations: 178.5 kB / 484.4 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.3852, allocations: 1.074 MB / 485.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3852, allocations: 0 / 485.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009203/0.3861, allocations: 0.9526 MB / 486.4 MB, free: 5.953 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.3873, allocations: 255.5 kB / 486.7 MB, free: 5.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.3904, allocations: 1.716 MB / 488.4 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007891/0.3912, allocations: 1.053 MB / 489.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3912, allocations: 0 / 489.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of Templates: time 0.01575/0.4069, allocations: 12.15 MB / 0.4898 GB, free: 6.496 MB / 346.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