Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002199/0.002199, allocations: 209.2 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2251, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGL): time 0.002848/0.228, allocations: 1.682 MB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.2301, allocations: 0.959 MB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.2302, allocations: 3.938 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2304, allocations: 27.78 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.2305, allocations: 39.72 kB / 435 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.2308, allocations: 111.8 kB / 435.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.2313, allocations: 423.3 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.2315, allocations: 69.19 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008436/0.2323, allocations: 0.7915 MB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.2326, allocations: 183.3 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.2327, allocations: 36 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.766e-05/0.2328, allocations: 36 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.2329, allocations: 167.3 kB / 436.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.2332, allocations: 226.5 kB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.2342, allocations: 1.069 MB / 438.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2342, allocations: 0 / 438.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2342, allocations: 0 / 438.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2342, allocations: 0 / 438.1 MB, free: 0.8867 MB / 334.1 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.001423/0.2356, allocations: 1.206 MB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2357, allocations: 12.03 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.2358, allocations: 88.42 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.2364, allocations: 406.8 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.2365, allocations: 20.36 kB / 439.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.2365, allocations: 24.38 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.2377, allocations: 0.7484 MB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2377, allocations: 0 / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.2378, allocations: 12 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2378, allocations: 4 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/0.2386, allocations: 0.6015 MB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.24, allocations: 0.8047 MB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.2409, allocations: 0.6078 MB / 442.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007591/0.2416, allocations: 0.5945 MB / 443.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.2417, allocations: 4 kB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.2427, allocations: 0.896 MB / 444.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.734e-06/0.2427, allocations: 0 / 444.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002813/0.2455, allocations: 2.032 MB / 446.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.2457, allocations: 271.2 kB / 446.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.2473, allocations: 1.164 MB / 447.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.2474, allocations: 33.7 kB / 447.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.2475, allocations: 154 kB / 447.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.2476, allocations: 79.42 kB / 447.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.2479, allocations: 197.3 kB / 448.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.248, allocations: 338.8 kB / 448.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/0.2488, allocations: 0.5856 MB / 449 MB, free: 5.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/0.2496, allocations: 0.6271 MB / 449.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.2508, allocations: 1.012 MB / 450.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2508, allocations: 4 kB / 450.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001898/0.2527, allocations: 1.39 MB / 452 MB, free: 2.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.2529, allocations: 239.9 kB / 452.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2529, allocations: 0 / 452.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2529, allocations: 0 / 452.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.98e-05/0.2529, allocations: 7.984 kB / 452.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.253, allocations: 3.938 kB / 452.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.2532, allocations: 31.88 kB / 452.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.2534, allocations: 127.9 kB / 452.4 MB, free: 1.637 MB / 350.1 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.dLATREGL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,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.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataIn[1],dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,data_1.y,reset.y,data_0.y,enable.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008942/0.2543, allocations: 0.7686 MB / 453.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.2544, allocations: 95.48 kB / 453.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.2547, allocations: 143.5 kB / 453.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2547, allocations: 0 / 453.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.2547, allocations: 7.938 kB / 453.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.2557, allocations: 0.5516 MB / 454 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.2559, allocations: 59.95 kB / 454 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.2562, allocations: 31.97 kB / 454.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003913/0.2565, allocations: 207.8 kB / 454.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002315/0.2589, allocations: 1.976 MB / 456.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002214/0.2611, allocations: 1.747 MB / 458 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008475/0.2619, allocations: 0.6597 MB / 458.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001241/0.2632, allocations: 0.8499 MB / 459.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Backend: time 4.41e-07/0.2632, allocations: 0 / 459.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.2649, allocations: 1.204 MB / 460.7 MB, free: 8.824 MB / 366.1 MB Notification: Performance of SimCode: time 0.003309/0.2682, allocations: 2.487 MB / 463.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of Templates: time 0.01899/0.2872, allocations: 13.05 MB / 476.2 MB, free: 9.059 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DLATREGL/DLATREGL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.424991005005722]