Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.001593/0.001593, allocations: 112.6 kB / 21.18 MB, free: 0.7422 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.001908/0.001908, allocations: 212.2 kB / 24.48 MB, free: 4.191 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.452/1.452, allocations: 230.4 MB / 258.1 MB, free: 8.129 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.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL") [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.001897/0.001897, allocations: 67.84 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2246, allocations: 53.31 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.003014/0.2276, allocations: 1.845 MB / 433.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.2299, allocations: 1.068 MB / 435 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.23, allocations: 7.938 kB / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.2301, allocations: 31.77 kB / 435 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.2304, allocations: 183.4 kB / 435.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.2307, allocations: 135.8 kB / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000653/0.2314, allocations: 0.5655 MB / 435.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2316, allocations: 70 kB / 435.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.2328, allocations: 1.15 MB / 437.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.2331, allocations: 219.2 kB / 437.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-05/0.2332, allocations: 40 kB / 437.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.2333, allocations: 44 kB / 437.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.2335, allocations: 259 kB / 437.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.2339, allocations: 436.9 kB / 438.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.2353, allocations: 1.492 MB / 439.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2353, allocations: 0 / 439.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2353, allocations: 0 / 439.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.2353, allocations: 0 / 439.6 MB, free: 15.81 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.002009/0.2374, allocations: 1.741 MB / 441.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2374, allocations: 12.03 kB / 441.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.2376, allocations: 148 kB / 441.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.2384, allocations: 0.5845 MB / 442 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.2384, allocations: 20.38 kB / 442.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.2385, allocations: 32.36 kB / 442.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.2396, allocations: 0.6186 MB / 442.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2396, allocations: 0 / 442.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.2396, allocations: 16 kB / 442.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2397, allocations: 4 kB / 442.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007581/0.2404, allocations: 471.7 kB / 443.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.2424, allocations: 1.178 MB / 444.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/0.2432, allocations: 478.3 kB / 444.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007081/0.2439, allocations: 460.6 kB / 445.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.2439, allocations: 4 kB / 445.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.2449, allocations: 0.7537 MB / 446.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.2449, allocations: 0 / 446.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002807/0.2478, allocations: 1.899 MB / 447.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000227/0.248, allocations: 329 kB / 448.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.2505, allocations: 1.85 MB / 450.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.2506, allocations: 49.62 kB / 450.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.2509, allocations: 250.4 kB / 450.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.251, allocations: 79.42 kB / 450.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.2513, allocations: 229.2 kB / 450.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.2516, allocations: 378.7 kB / 451.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007067/0.2523, allocations: 451.7 kB / 451.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.253, allocations: 478.7 kB / 452 MB, free: 2.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.2544, allocations: 1.178 MB / 453.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2544, allocations: 8 kB / 453.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001966/0.2564, allocations: 1.357 MB / 454.5 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.2566, allocations: 293.5 kB / 454.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2566, allocations: 11.91 kB / 454.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.2567, allocations: 0 / 454.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.123e-05/0.2567, allocations: 7.938 kB / 454.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2567, allocations: 0 / 454.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.257, allocations: 39.86 kB / 454.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.2572, allocations: 132.2 kB / 455 MB, free: 15.71 MB / 366.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: 37 ($PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,set.y,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 (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * 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.00119/0.2584, allocations: 0.9881 MB / 456 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.2586, allocations: 139.2 kB / 456.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.2589, allocations: 255.8 kB / 456.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2589, allocations: 0 / 456.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2589, allocations: 0 / 456.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.2601, allocations: 0.6831 MB / 457.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.2603, allocations: 55.97 kB / 457.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.2605, allocations: 39.97 kB / 457.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005736/0.2611, allocations: 343.7 kB / 457.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002429/0.2635, allocations: 2.005 MB / 459.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002326/0.2659, allocations: 1.752 MB / 461.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000782/0.2667, allocations: 0.4958 MB / 461.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001932/0.2686, allocations: 1.345 MB / 463.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of Backend: time 3e-07/0.2686, allocations: 4 kB / 463.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.2703, allocations: 1.133 MB / 464.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of SimCode: time 0.004323/0.2746, allocations: 3.38 MB / 467.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of Templates: time 0.02094/0.2956, allocations: 14.84 MB / 482.5 MB, free: 3.461 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.36942170932889]