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.001281/0.001281, allocations: 112.2 kB / 17.75 MB, free: 5.309 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.001182/0.001182, allocations: 185.3 kB / 18.67 MB, free: 4.395 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.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009839/0.0009839, allocations: 43.88 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2646, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.003876/0.2685, allocations: 1.811 MB / 403.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.2717, allocations: 1.029 MB / 404.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.2718, allocations: 0 / 404.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.272, allocations: 31.72 kB / 404.3 MB, free: 6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.2724, allocations: 179.5 kB / 404.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.2728, allocations: 147.8 kB / 404.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008862/0.2737, allocations: 0.6084 MB / 405.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.274, allocations: 114 kB / 405.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.2755, allocations: 1.123 MB / 406.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.2758, allocations: 203.2 kB / 406.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2759, allocations: 44 kB / 406.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.2761, allocations: 44 kB / 406.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.2763, allocations: 254.9 kB / 407 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.2766, allocations: 440.9 kB / 407.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.2777, allocations: 1.481 MB / 408.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2777, allocations: 3.938 kB / 408.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2777, allocations: 4 kB / 408.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.2777, allocations: 0 / 408.9 MB, free: 1.375 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.001612/0.2794, allocations: 1.702 MB / 410.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2794, allocations: 8.031 kB / 410.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.2796, allocations: 131.4 kB / 410.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.2802, allocations: 0.5715 MB / 411.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.2803, allocations: 24.36 kB / 411.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.2804, allocations: 28.38 kB / 411.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.2814, allocations: 0.6264 MB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.2814, allocations: 0 / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.2815, allocations: 16 kB / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2815, allocations: 0 / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.2822, allocations: 483.6 kB / 412.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.284, allocations: 1.17 MB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.2848, allocations: 0.6936 MB / 414.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007811/0.2856, allocations: 0.692 MB / 415 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.2856, allocations: 0 / 415 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008907/0.2865, allocations: 0.7446 MB / 415.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.2865, allocations: 0 / 415.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002502/0.289, allocations: 1.887 MB / 417.7 MB, free: 8.281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/0.2892, allocations: 329 kB / 418 MB, free: 7.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.2914, allocations: 1.854 MB / 419.8 MB, free: 6.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/0.2915, allocations: 41.7 kB / 419.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.2918, allocations: 258.3 kB / 420.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.2919, allocations: 71.25 kB / 420.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.2921, allocations: 220.7 kB / 420.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2923, allocations: 382.7 kB / 420.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00062/0.2929, allocations: 451.7 kB / 421.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.2936, allocations: 483.5 kB / 421.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.2947, allocations: 1.169 MB / 422.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2947, allocations: 0 / 422.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001676/0.2964, allocations: 1.361 MB / 424.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.2966, allocations: 293.5 kB / 424.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2966, allocations: 3.938 kB / 424.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2966, allocations: 4 kB / 424.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.403e-05/0.2967, allocations: 8 kB / 424.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2967, allocations: 3.984 kB / 424.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.297, allocations: 39.88 kB / 424.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.2971, allocations: 136.1 kB / 424.7 MB, free: 0.9023 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.0009835/0.2981, allocations: 0.992 MB / 425.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.2983, allocations: 130.5 kB / 425.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.2986, allocations: 263.8 kB / 426.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2986, allocations: 4 kB / 426.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2986, allocations: 0 / 426.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009788/0.2996, allocations: 0.6746 MB / 426.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.2998, allocations: 51.97 kB / 426.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.3001, allocations: 35.97 kB / 426.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004945/0.3006, allocations: 339.7 kB / 427.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002006/0.3026, allocations: 2.005 MB / 429.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00199/0.3046, allocations: 1.739 MB / 430.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009295/0.3055, allocations: 0.9255 MB / 431.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001661/0.3072, allocations: 1.345 MB / 433.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.3072, allocations: 0 / 433.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.3089, allocations: 1.532 MB / 434.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of SimCode: time 0.003832/0.3128, allocations: 3.354 MB / 438.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of Templates: time 0.01858/0.3314, allocations: 14.68 MB / 452.8 MB, free: 4.016 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