Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 112.3 kB / 21.18 MB, free: 0.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 215 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.DLATREGL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 75.81 kB / 378.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2242, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGL): time 0.00289/0.2271, allocations: 1.771 MB / 433.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.2292, allocations: 1.006 MB / 434.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.2293, allocations: 4 kB / 434.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.2295, allocations: 31.72 kB / 434.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.2296, allocations: 51.7 kB / 434.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.2299, allocations: 107.6 kB / 435 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.2304, allocations: 419.3 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2306, allocations: 61.16 kB / 435.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008619/0.2315, allocations: 0.7798 MB / 436.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.2318, allocations: 187.2 kB / 436.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.358e-05/0.2318, allocations: 36 kB / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.2319, allocations: 36 kB / 436.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.2321, allocations: 171.2 kB / 436.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.2325, allocations: 310 kB / 437 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.2336, allocations: 1.076 MB / 438.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2336, allocations: 0 / 438.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2337, allocations: 0 / 438.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2337, allocations: 4 kB / 438.1 MB, free: 1.359 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.001436/0.2351, allocations: 1.287 MB / 439.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2351, allocations: 8.031 kB / 439.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.2353, allocations: 88.42 kB / 439.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.2359, allocations: 460.6 kB / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.2359, allocations: 24.36 kB / 439.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/0.236, allocations: 28.38 kB / 440 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.2368, allocations: 498.6 kB / 440.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2368, allocations: 4 kB / 440.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.2369, allocations: 15.98 kB / 440.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2369, allocations: 0 / 440.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/0.2375, allocations: 368.1 kB / 440.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.2391, allocations: 0.9143 MB / 441.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.2397, allocations: 374.6 kB / 442.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/0.2403, allocations: 364.8 kB / 442.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.2403, allocations: 0 / 442.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008973/0.2412, allocations: 0.6344 MB / 443.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.2412, allocations: 0 / 443.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002445/0.2437, allocations: 1.524 MB / 444.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.2438, allocations: 291.2 kB / 444.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.2454, allocations: 1.156 MB / 446.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.987e-05/0.2455, allocations: 45.69 kB / 446.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2456, allocations: 142.1 kB / 446.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.2457, allocations: 79.42 kB / 446.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.246, allocations: 193.3 kB / 446.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.2463, allocations: 338.8 kB / 446.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/0.2468, allocations: 339.8 kB / 447.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.2474, allocations: 386.2 kB / 447.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.2485, allocations: 0.9725 MB / 448.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2485, allocations: 0 / 448.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001658/0.2502, allocations: 1.121 MB / 449.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.2504, allocations: 243.9 kB / 449.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2504, allocations: 8.047 kB / 449.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2504, allocations: 3.938 kB / 449.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.847e-05/0.2505, allocations: 8 kB / 449.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2505, allocations: 0 / 449.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.2507, allocations: 31.94 kB / 449.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.2509, allocations: 131.9 kB / 450.1 MB, free: 4.789 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.0008242/0.2517, allocations: 0.7601 MB / 450.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.2519, allocations: 99.47 kB / 450.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.2521, allocations: 147.5 kB / 451.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.2521, allocations: 7.922 kB / 451.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2521, allocations: 0 / 451.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000877/0.253, allocations: 0.5547 MB / 451.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.2531, allocations: 51.97 kB / 451.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.2534, allocations: 31.97 kB / 451.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.2537, allocations: 219.8 kB / 451.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002158/0.2559, allocations: 1.715 MB / 453.6 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001991/0.2579, allocations: 1.483 MB / 455.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006184/0.2585, allocations: 399.7 kB / 455.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001214/0.2597, allocations: 0.8538 MB / 456.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of Backend: time 5.01e-07/0.2597, allocations: 0 / 456.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.2611, allocations: 0.947 MB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 0.003123/0.2643, allocations: 2.514 MB / 459.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of Templates: time 0.01774/0.282, allocations: 12.13 MB / 471.9 MB, free: 14.24 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DLATREGL/DLATREGL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.348220413085073]