Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 110.2 kB / 17.75 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 190.6 kB / 18.68 MB, free: 4.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 55.91 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2614, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.002717/0.2642, allocations: 1.806 MB / 403.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.2663, allocations: 1.041 MB / 404.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.2663, allocations: 0 / 404.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.2665, allocations: 35.72 kB / 404.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.2668, allocations: 171.5 kB / 404.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.2671, allocations: 147.7 kB / 404.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006366/0.2677, allocations: 0.6084 MB / 405.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.268, allocations: 118 kB / 405.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.269, allocations: 1.123 MB / 406.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.2694, allocations: 195.3 kB / 406.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.2695, allocations: 44 kB / 406.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2696, allocations: 44 kB / 406.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.2699, allocations: 259 kB / 407 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.2703, allocations: 440.9 kB / 407.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.2715, allocations: 1.486 MB / 408.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2715, allocations: 4 kB / 408.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2715, allocations: 7.938 kB / 408.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.2715, allocations: 0 / 408.9 MB, free: 1.336 MB / 318.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.001702/0.2732, allocations: 1.741 MB / 410.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2733, allocations: 8.031 kB / 410.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.2735, allocations: 140.1 kB / 410.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.2741, allocations: 0.5884 MB / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.2741, allocations: 16.38 kB / 411.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/0.2742, allocations: 36.36 kB / 411.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.2753, allocations: 0.6147 MB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2753, allocations: 4 kB / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.2754, allocations: 19.98 kB / 412.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2754, allocations: 4 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007179/0.2761, allocations: 471.7 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.2779, allocations: 1.166 MB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008891/0.2788, allocations: 0.6975 MB / 414.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008323/0.2797, allocations: 0.688 MB / 415.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.2797, allocations: 4 kB / 415.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009806/0.2807, allocations: 0.7446 MB / 415.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/0.2807, allocations: 3.938 kB / 415.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002663/0.2834, allocations: 1.896 MB / 417.7 MB, free: 8.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002057/0.2836, allocations: 325 kB / 418.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/0.286, allocations: 1.858 MB / 419.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.2861, allocations: 45.69 kB / 420 MB, free: 5.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.2864, allocations: 246.5 kB / 420.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.2865, allocations: 83.45 kB / 420.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.2868, allocations: 225.1 kB / 420.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.287, allocations: 386.7 kB / 420.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.2876, allocations: 447.7 kB / 421.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.2883, allocations: 475.5 kB / 421.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.2896, allocations: 1.177 MB / 423 MB, free: 2.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2896, allocations: 4 kB / 423 MB, free: 2.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001862/0.2915, allocations: 1.375 MB / 424.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.2917, allocations: 293.5 kB / 424.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2917, allocations: 7.938 kB / 424.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2918, allocations: 0 / 424.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-05/0.2918, allocations: 8.062 kB / 424.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.2918, allocations: 4 kB / 424.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.2921, allocations: 39.91 kB / 424.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.2923, allocations: 128.2 kB / 424.8 MB, free: 0.7852 MB / 334.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.001093/0.2934, allocations: 0.9958 MB / 425.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.2936, allocations: 139.2 kB / 425.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.2939, allocations: 251.8 kB / 426.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2939, allocations: 4 kB / 426.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.294, allocations: 7.984 kB / 426.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009574/0.2949, allocations: 0.6714 MB / 426.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.2951, allocations: 59.97 kB / 426.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.2954, allocations: 31.97 kB / 427 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000553/0.2959, allocations: 347.7 kB / 427.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002299/0.2983, allocations: 2.005 MB / 429.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002192/0.3005, allocations: 1.74 MB / 431 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001046/0.3015, allocations: 0.9335 MB / 432 MB, free: 9.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001901/0.3034, allocations: 1.337 MB / 433.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of Backend: time 4.41e-07/0.3034, allocations: 0 / 433.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.3053, allocations: 1.548 MB / 434.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of SimCode: time 0.004014/0.3093, allocations: 3.364 MB / 438.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of Templates: time 0.02066/0.33, allocations: 14.68 MB / 452.9 MB, free: 3.855 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches