Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG.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.001831/0.001831, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001805/0.001805, allocations: 217.3 kB / 24.49 MB, free: 3.93 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 43.94 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2076, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREG): time 0.00293/0.2105, allocations: 1.678 MB / 434 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.2126, allocations: 0.955 MB / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.2127, allocations: 4 kB / 435 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.2129, allocations: 31.77 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.213, allocations: 39.72 kB / 435 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.2133, allocations: 119.7 kB / 435.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.2138, allocations: 419.3 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.2139, allocations: 68.48 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008582/0.2148, allocations: 0.7915 MB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.2151, allocations: 183.3 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.2152, allocations: 36 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.2153, allocations: 36 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.2154, allocations: 163.3 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.2157, allocations: 226.4 kB / 437.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.2167, allocations: 1.07 MB / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2167, allocations: 0 / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2167, allocations: 0 / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2167, allocations: 0 / 438.1 MB, free: 0.8906 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.001442/0.2181, allocations: 1.208 MB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2182, allocations: 8.031 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.2183, allocations: 96.41 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.2189, allocations: 398.8 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.219, allocations: 16.38 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.219, allocations: 24.38 kB / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.2202, allocations: 0.7461 MB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2202, allocations: 0 / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.636e-05/0.2202, allocations: 23.91 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2202, allocations: 0 / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.2211, allocations: 0.6054 MB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.2226, allocations: 0.7892 MB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.2234, allocations: 0.6195 MB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007919/0.2242, allocations: 0.6022 MB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.2242, allocations: 0 / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.2253, allocations: 0.8882 MB / 444.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.983e-06/0.2253, allocations: 0 / 444.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002853/0.2281, allocations: 2.032 MB / 446.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/0.2283, allocations: 275.2 kB / 446.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.2299, allocations: 1.156 MB / 447.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.656e-05/0.23, allocations: 45.69 kB / 447.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2301, allocations: 150 kB / 447.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.2303, allocations: 79.53 kB / 447.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.2305, allocations: 197.3 kB / 448.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2307, allocations: 342.8 kB / 448.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007896/0.2315, allocations: 0.5856 MB / 449 MB, free: 5.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/0.2323, allocations: 0.6193 MB / 449.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.2335, allocations: 1.008 MB / 450.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2335, allocations: 4 kB / 450.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001906/0.2354, allocations: 1.394 MB / 452 MB, free: 2.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.2356, allocations: 235.9 kB / 452.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2356, allocations: 4 kB / 452.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2357, allocations: 0 / 452.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.651e-05/0.2357, allocations: 8 kB / 452.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.2357, allocations: 7.875 kB / 452.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.236, allocations: 35.86 kB / 452.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.2361, allocations: 123.9 kB / 452.4 MB, free: 1.641 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.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,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.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataIn[1],dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.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.0008714/0.237, allocations: 0.7532 MB / 453.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.2371, allocations: 91.48 kB / 453.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.2374, allocations: 151.5 kB / 453.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2374, allocations: 0 / 453.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2374, allocations: 3.938 kB / 453.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.2385, allocations: 0.5594 MB / 454 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.2386, allocations: 56.05 kB / 454 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.2389, allocations: 27.97 kB / 454 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003997/0.2393, allocations: 215.7 kB / 454.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00239/0.2417, allocations: 1.976 MB / 456.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002265/0.2439, allocations: 1.744 MB / 458 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008655/0.2448, allocations: 0.6559 MB / 458.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001213/0.246, allocations: 0.8577 MB / 459.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of Backend: time 1.6e-07/0.246, allocations: 0 / 459.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.2477, allocations: 1.193 MB / 460.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of SimCode: time 0.003123/0.2508, allocations: 2.492 MB / 463.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of Templates: time 0.01845/0.2692, allocations: 13.03 MB / 476.2 MB, free: 9.082 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DLATREG/DLATREG.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREG.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.394524584997271]