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") [: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.001032/0.001032, allocations: 178.5 kB / 8.476 MB, free: 1.879 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.147/1.147, allocations: 205.2 MB / 214.1 MB, free: 1.898 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.0009394/0.0009394, allocations: 75.41 kB / 262.1 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.734e-06/7.875e-06, allocations: 4 kB / 315 MB, free: 23.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08217/0.0822, allocations: 47.58 MB / 362.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/0.3339, allocations: 81.54 MB / 444.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.3342, allocations: 65.16 kB / 444.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06217/0.3964, allocations: 32.61 MB / 476.8 MB, free: 3.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.3964, allocations: 8 kB / 476.8 MB, free: 3.469 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.0009088/0.3974, allocations: 1.009 MB / 477.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3974, allocations: 8.031 kB / 477.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.3975, allocations: 86.97 kB / 477.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.3981, allocations: 424.8 kB / 478.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.3981, allocations: 12 kB / 478.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.3982, allocations: 27.3 kB / 478.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004931/0.3987, allocations: 349.1 kB / 478.7 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.3994, allocations: 490 kB / 479.1 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3994, allocations: 0 / 479.1 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.3995, allocations: 9 kB / 479.1 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3995, allocations: 4 kB / 479.1 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.4009, allocations: 0.9286 MB / 480.1 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.4015, allocations: 0.4908 MB / 480.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.402, allocations: 488.9 kB / 481 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.402, allocations: 4 kB / 481 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.4026, allocations: 0.5876 MB / 481.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.4026, allocations: 4 kB / 481.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009941/0.4036, allocations: 0.7425 MB / 482.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.4038, allocations: 287.3 kB / 482.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.4049, allocations: 0.9877 MB / 483.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/0.405, allocations: 41.69 kB / 483.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.4051, allocations: 110 kB / 483.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.4052, allocations: 67.17 kB / 483.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.4052, allocations: 15.98 kB / 483.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4053, allocations: 342.8 kB / 484.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.4058, allocations: 347.8 kB / 484.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.4062, allocations: 339.8 kB / 484.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.4065, allocations: 248.1 kB / 485.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4065, allocations: 11.86 kB / 485.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009179/0.4075, allocations: 0.7038 MB / 485.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4075, allocations: 4 kB / 485.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4075, allocations: 0 / 485.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4075, allocations: 0 / 485.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-05/0.4075, allocations: 11.98 kB / 485.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.4075, allocations: 4 kB / 485.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.4078, allocations: 31.83 kB / 485.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.408, allocations: 123.9 kB / 486 MB, free: 10.19 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.0003174/0.4083, allocations: 394.9 kB / 486.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4084, allocations: 90.97 kB / 486.5 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.4086, allocations: 155.5 kB / 486.6 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4087, allocations: 0 / 486.6 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4087, allocations: 0 / 486.6 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4087, allocations: 3.984 kB / 486.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.4104, allocations: 1.47 MB / 488.1 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4104, allocations: 4 kB / 488.1 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-06/0.4104, allocations: 0 / 488.1 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.4104, allocations: 0 / 488.1 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.4105, allocations: 35.98 kB / 488.2 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4105, allocations: 0 / 488.2 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4105, allocations: 0 / 488.2 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001091/0.4116, allocations: 0.9278 MB / 489.1 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/0.4124, allocations: 0.5659 MB / 489.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.4126, allocations: 63.95 kB / 489.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.4129, allocations: 35.97 kB / 489.7 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003861/0.4133, allocations: 239.8 kB / 490 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.4134, allocations: 131.9 kB / 490.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0009442/0.4144, allocations: 0.8226 MB / 490.9 MB, free: 5.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004021/0.4148, allocations: 111.9 kB / 491 MB, free: 5.027 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.0002254/0.415, allocations: 180.4 kB / 491.2 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.4163, allocations: 1.078 MB / 492.3 MB, free: 3.719 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4163, allocations: 0 / 492.3 MB, free: 3.719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009065/0.4172, allocations: 0.9489 MB / 493.2 MB, free: 2.727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/0.4182, allocations: 251.3 kB / 493.5 MB, free: 2.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.4207, allocations: 1.716 MB / 495.2 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007954/0.4215, allocations: 1.057 MB / 496.3 MB, free: 15.65 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4215, allocations: 3.938 kB / 496.3 MB, free: 15.65 MB / 378.7 MB Notification: Performance of Templates: time 0.01529/0.4368, allocations: 12.15 MB / 0.4965 GB, free: 3.234 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