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.001044/0.001044, allocations: 113.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.001186/0.001186, 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.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.262, allocations: 50.53 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.002724/0.2648, allocations: 1.817 MB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.2669, allocations: 1.072 MB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/0.267, allocations: 3.938 kB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.2672, allocations: 27.78 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.2675, allocations: 179.4 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.2678, allocations: 131.8 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.2684, allocations: 0.6124 MB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.2686, allocations: 122 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000981/0.2696, allocations: 1.119 MB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.2699, allocations: 207.1 kB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.27, allocations: 44 kB / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.2701, allocations: 44 kB / 415.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.2703, allocations: 255 kB / 415.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.2707, allocations: 432.9 kB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.2719, allocations: 1.483 MB / 417.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2719, allocations: 0 / 417.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.272, allocations: 0 / 417.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.272, allocations: 4 kB / 417.5 MB, free: 10.03 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.00175/0.2737, allocations: 1.699 MB / 419.2 MB, free: 8.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2738, allocations: 8.031 kB / 419.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.274, allocations: 135.3 kB / 419.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.2747, allocations: 0.5716 MB / 419.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.2747, allocations: 20.38 kB / 419.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/0.2748, allocations: 32.36 kB / 419.9 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.2759, allocations: 0.6186 MB / 420.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2759, allocations: 7.875 kB / 420.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.276, allocations: 16 kB / 420.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.276, allocations: 4 kB / 420.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.2767, allocations: 475.6 kB / 421 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.2786, allocations: 1.17 MB / 422.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/0.2794, allocations: 0.6936 MB / 422.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000791/0.2802, allocations: 0.688 MB / 423.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.2802, allocations: 4 kB / 423.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009256/0.2811, allocations: 0.7485 MB / 424.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.295e-06/0.2812, allocations: 3.938 kB / 424.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002637/0.2838, allocations: 1.885 MB / 426.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002037/0.284, allocations: 333 kB / 426.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.2864, allocations: 1.846 MB / 428.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.995e-05/0.2865, allocations: 45.69 kB / 428.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.2867, allocations: 254.3 kB / 428.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2868, allocations: 79.16 kB / 428.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.2871, allocations: 220.7 kB / 429 MB, free: 14.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.2873, allocations: 378.7 kB / 429.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006431/0.288, allocations: 455.6 kB / 429.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.2886, allocations: 478.3 kB / 430.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.2899, allocations: 1.174 MB / 431.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2899, allocations: 0 / 431.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001724/0.2916, allocations: 1.353 MB / 432.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002209/0.2918, allocations: 297.5 kB / 433.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2919, allocations: 3.938 kB / 433.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2919, allocations: 0 / 433.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.19e-05/0.2919, allocations: 7.938 kB / 433.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2919, allocations: 8 kB / 433.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.2923, allocations: 39.88 kB / 433.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.2924, allocations: 124.2 kB / 433.3 MB, free: 9.57 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.001047/0.2935, allocations: 0.9958 MB / 434.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.2936, allocations: 130.5 kB / 434.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.294, allocations: 255.8 kB / 434.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.294, allocations: 3.984 kB / 434.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.294, allocations: 0 / 434.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.295, allocations: 0.6824 MB / 435.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.2952, allocations: 59.91 kB / 435.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.2954, allocations: 35.97 kB / 435.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005237/0.296, allocations: 339.7 kB / 435.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002131/0.2981, allocations: 2.009 MB / 437.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002023/0.3001, allocations: 1.731 MB / 439.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009665/0.3011, allocations: 0.9332 MB / 440.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001821/0.303, allocations: 1.345 MB / 441.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of Backend: time 1.272e-06/0.303, allocations: 0 / 441.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002385/0.3054, allocations: 1.539 MB / 443.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of SimCode: time 0.003844/0.3092, allocations: 3.355 MB / 446.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Templates: time 0.02052/0.3298, allocations: 14.68 MB / 461.3 MB, free: 12.66 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