Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001182, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2374, allocations: 50.54 MB / 409.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.002677/0.2401, allocations: 1.825 MB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.2423, allocations: 1.056 MB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.547e-05/0.2424, allocations: 8 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.2426, allocations: 35.7 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.2428, allocations: 179.4 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.2431, allocations: 135.8 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006179/0.2438, allocations: 0.6085 MB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.244, allocations: 117 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.245, allocations: 1.123 MB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.2453, allocations: 203.2 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.2454, allocations: 43.98 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.2455, allocations: 48 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.2457, allocations: 255 kB / 415.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003862/0.2461, allocations: 432.9 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.2473, allocations: 1.487 MB / 417.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2473, allocations: 0 / 417.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2473, allocations: 0 / 417.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.2473, allocations: 0 / 417.5 MB, free: 9.988 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00178/0.2491, allocations: 1.703 MB / 419.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2491, allocations: 8.031 kB / 419.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.2493, allocations: 139.3 kB / 419.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.25, allocations: 0.5677 MB / 419.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.25, allocations: 28.36 kB / 419.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8e-05/0.2501, allocations: 28.38 kB / 419.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.2512, allocations: 0.6147 MB / 420.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2512, allocations: 3.938 kB / 420.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.286e-05/0.2513, allocations: 15.98 kB / 420.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2513, allocations: 4 kB / 420.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007319/0.252, allocations: 483.6 kB / 421 MB, free: 6.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.2538, allocations: 1.162 MB / 422.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/0.2547, allocations: 0.7053 MB / 422.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008384/0.2555, allocations: 0.6802 MB / 423.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.2555, allocations: 4 kB / 423.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009884/0.2565, allocations: 0.7407 MB / 424.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/0.2565, allocations: 0 / 424.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002656/0.2592, allocations: 1.896 MB / 426.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/0.2594, allocations: 329 kB / 426.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.2618, allocations: 1.854 MB / 428.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.2619, allocations: 41.7 kB / 428.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.2621, allocations: 254.3 kB / 428.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/0.2622, allocations: 75.16 kB / 428.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.2625, allocations: 220.8 kB / 429 MB, free: 14.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2627, allocations: 382.7 kB / 429.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006422/0.2633, allocations: 447.7 kB / 429.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.264, allocations: 486.2 kB / 430.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.2652, allocations: 1.162 MB / 431.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2652, allocations: 0 / 431.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001799/0.267, allocations: 1.365 MB / 432.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000205/0.2673, allocations: 297.5 kB / 433.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2673, allocations: 3.938 kB / 433.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2673, allocations: 0 / 433.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.75e-05/0.2673, allocations: 7.938 kB / 433.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.2673, allocations: 0 / 433.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.2677, allocations: 43.81 kB / 433.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.2678, allocations: 124.2 kB / 433.3 MB, free: 9.531 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: 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.001069/0.2689, allocations: 0.9998 MB / 434.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.2691, allocations: 134.5 kB / 434.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.2694, allocations: 251.8 kB / 434.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2694, allocations: 0 / 434.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2695, allocations: 0 / 434.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.2705, allocations: 0.6824 MB / 435.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.2707, allocations: 59.95 kB / 435.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.271, allocations: 27.97 kB / 435.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005292/0.2715, allocations: 351.7 kB / 435.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002224/0.2738, allocations: 2.009 MB / 437.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002124/0.2759, allocations: 1.735 MB / 439.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001002/0.2769, allocations: 0.9216 MB / 440.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001816/0.2787, allocations: 1.349 MB / 441.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Backend: time 3.41e-07/0.2788, allocations: 3.938 kB / 441.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.2806, allocations: 1.536 MB / 443.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of SimCode: time 0.003987/0.2846, allocations: 3.348 MB / 446.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of Templates: time 0.01968/0.3043, allocations: 14.69 MB / 461.3 MB, free: 12.61 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches